[Org] Fix issue of ‘nil’ file names when exporting diary
This commit is contained in:
parent
98bcd19b72
commit
b3151704de
|
@ -774,7 +774,7 @@ _y_: ?y? year _q_: quit _L__l__c_: ?l?
|
||||||
(message "Exporting diary ...")
|
(message "Exporting diary ...")
|
||||||
;; open files manually to avoid polluting `org-agenda-new-buffers’; we don’t
|
;; open files manually to avoid polluting `org-agenda-new-buffers’; we don’t
|
||||||
;; want these buffers to be closed after exporting
|
;; want these buffers to be closed after exporting
|
||||||
(mapc #'find-file-noselect org-agenda-files)
|
(mapc #'find-file-noselect (cl-remove-if #'null org-agenda-files))
|
||||||
;; actual export; calls `org-release-buffers’ and may thus close buffers
|
;; actual export; calls `org-release-buffers’ and may thus close buffers
|
||||||
;; we want to keep around … which is why we set `org-agenda-new-buffers’
|
;; we want to keep around … which is why we set `org-agenda-new-buffers’
|
||||||
;; to nil
|
;; to nil
|
||||||
|
|
Loading…
Reference in New Issue
Block a user