forked from mirrors/org-mode
org.el: Fix bug in ̀org-open-at-point'.
* org.el (org-open-at-point): Only set `clean-buffer-list-kill-buffer-names' when the feature 'midnight has been loaded. Thanks to François Allisson for reporting this bug.
This commit is contained in:
parent
216768531f
commit
4f627f86d7
|
@ -9835,9 +9835,10 @@ application the system uses for this file type."
|
|||
'face 'org-warning))))
|
||||
(progn
|
||||
(message "Executing %s" cmd)
|
||||
(setq clean-buffer-list-kill-buffer-names
|
||||
(cons buf clean-buffer-list-kill-buffer-names))
|
||||
(shell-command cmd buf))
|
||||
(shell-command cmd buf)
|
||||
(if (featurep 'midnight)
|
||||
(setq clean-buffer-list-kill-buffer-names
|
||||
(cons buf clean-buffer-list-kill-buffer-names))))
|
||||
(error "Abort"))))
|
||||
|
||||
((string= type "elisp")
|
||||
|
|
Loading…
Reference in New Issue