1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-31 11:13:59 +00:00
Thanks to Tassilo Horn for reporting this.
This commit is contained in:
Bastien Guerry 2013-02-27 08:46:26 +01:00
parent c30ba6f156
commit 5f47cb2b9f

View File

@ -263,7 +263,8 @@ in `org-rm-props'."
(cond ((eq key t) t)
((eq option t) t)
((assoc key option) (cdr (assoc key option)))
(t (delq nil (cdr (assq 'default option))))))
(t (let ((r (cdr (assq 'default option))))
(if (listp r) (delq nil r) r)))))
(defsubst org-check-external-command (cmd &optional use no-error)
"Check if external program CMD for USE exists, error if not.