Remember: Keep changes to `auto-save-visited-file-name' buffer-local

This commit is contained in:
Carsten Dominik 2009-03-26 04:37:42 +01:00
parent 72908042c3
commit ac9d73bb13
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-03-26 Carsten Dominik <carsten.dominik@gmail.com>
* org-remember.el (org-remember-apply-template): Set local
variable `auto-save-visited-file-name' instead of global one.
2009-03-25 Carsten Dominik <carsten.dominik@gmail.com> 2009-03-25 Carsten Dominik <carsten.dominik@gmail.com>
* org-feed.el: Re-write. * org-feed.el: Re-write.

View File

@ -583,7 +583,7 @@ to be run from that hook to function properly."
(format-time-string "remember-%Y-%m-%d-%H-%M-%S") (format-time-string "remember-%Y-%m-%d-%H-%M-%S")
org-remember-backup-directory)) org-remember-backup-directory))
(save-buffer) (save-buffer)
(setq auto-save-visited-file-name t)) (org-set-local 'auto-save-visited-file-name t))
(when (save-excursion (when (save-excursion
(goto-char (point-min)) (goto-char (point-min))
(re-search-forward "%!" nil t)) (re-search-forward "%!" nil t))