1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

Make `buffer-offer-save' permanently local

Fixes: debbugs:6241
This commit is contained in:
Lars Magne Ingebrigtsen 2011-07-16 22:01:37 +02:00
parent aa57197f1f
commit 3ee3a1b538
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
* files.el (buffer-offer-save): Made permanently local (bug#6241).
* doc-view.el (doc-view-make-safe-dir): Rewrite the error message
to clarify what the problem is (bug#4291).

View File

@ -151,6 +151,7 @@ Automatically local in all buffers."
:type 'boolean
:group 'backup)
(make-variable-buffer-local 'buffer-offer-save)
(put 'buffer-offer-save 'permanent-local t)
(defcustom find-file-existing-other-name t
"Non-nil means find a file under alternative names, in existing buffers.