summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-16 22:01:37 +0200
committerLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-16 22:01:37 +0200
commit3ee3a1b5386a4df89314aa10ee1e596ae3d60446 (patch)
tree6d7da55cbba4114bc2677294d768b3ddeb204bc1
parentaa57197f1f28ae6c54257f61ce40152cc095b7ae (diff)
downloademacs-3ee3a1b5386a4df89314aa10ee1e596ae3d60446.tar.gz
Make `buffer-offer-save' permanently local
Fixes: debbugs:6241
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/files.el1
2 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 48f61a55552..a6b66ca2678 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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).
diff --git a/lisp/files.el b/lisp/files.el
index 0b253fcc297..6b8a352f20c 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -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.