Make `buffer-offer-save' permanently local
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 16 Jul 2011 20:01:37 +0000 (22:01 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 16 Jul 2011 20:01:37 +0000 (22:01 +0200)
Fixes: debbugs:6241

lisp/ChangeLog
lisp/files.el

index 48f61a5..a6b66ca 100644 (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).
 
index 0b253fc..6b8a352 100644 (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.