Merge branch 'maint'

This commit is contained in:
Achim Gratz 2012-12-19 15:34:40 +01:00
commit c74c62606d

View file

@ -3211,7 +3211,7 @@ If AGENDA-BUFFER-NAME, use this as the buffer name for the agenda to write."
(kill-buffer (current-buffer)) (kill-buffer (current-buffer))
(message "Plain text written to %s" file)))))))) (message "Plain text written to %s" file))))))))
(set-buffer (or agenda-bufname (set-buffer (or agenda-bufname
(and (called-interactively-p 'any) (buffer-name)) (and (org-called-interactively-p 'any) (buffer-name))
org-agenda-buffer-name))) org-agenda-buffer-name)))
(when open (org-open-file file))) (when open (org-open-file file)))