summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Amdor <luke.amdor@gmail.com>2015-04-28 17:44:17 -0500
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2015-04-29 23:37:18 +0200
commit14f5b132184ac9c0492d8cc94345413b85ef3f55 (patch)
tree0f241ad05771127bcb25f25b427176786f07db62
parentff1b975679171ed94c09fd6acbdf66fbf029708a (diff)
downloadorg-mode-14f5b132184ac9c0492d8cc94345413b85ef3f55.tar.gz
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
-rwxr-xr-xlisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 4635ee8..e2d1724 100755
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -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")