|
@@ -13690,7 +13690,8 @@ the buffer and restores the previous window configuration."
|
|
|
(while (setq b (find-buffer-visiting f)) (kill-buffer b))
|
|
|
(with-temp-file f
|
|
|
(insert (mapconcat 'identity list "\n") "\n")))
|
|
|
- (let ((org-mode-hook nil) (default-major-mode 'fundamental-mode))
|
|
|
+ (let ((org-mode-hook nil) (org-inhibit-startup t)
|
|
|
+ (org-insert-mode-line-in-empty-file nil))
|
|
|
(setq org-agenda-files list)
|
|
|
(customize-save-variable 'org-agenda-files org-agenda-files))))
|
|
|
|