org.el: Fix use of org-open-at-point with shell and midnight cleaning

* lisp/org.el (org-open-at-point): Make sure org shell output buffer
  is a string of buffer name before appending to
  `clean-buffer-list-kill-buffer-names' for cleaning later.

TINYCHANGE
This commit is contained in:
Luke Amdor 2015-04-28 17:44:17 -05:00 committed by Nicolas Goaziou
parent ff1b975679
commit 14f5b13218
1 changed files with 1 additions and 1 deletions

View File

@ -10836,7 +10836,7 @@ link in a property drawer line."
(shell-command cmd buf)
(when (featurep 'midnight)
(setq clean-buffer-list-kill-buffer-names
(cons buf
(cons (buffer-name buf)
clean-buffer-list-kill-buffer-names))))
(user-error "Abort"))))
((equal type "elisp")