Remember: Keep changes to `auto-save-visited-file-name' buffer-local
This commit is contained in:
parent
72908042c3
commit
ac9d73bb13
|
@ -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.
|
||||||
|
|
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue