From: Lars Magne Ingebrigtsen Date: Sat, 16 Jul 2011 20:01:37 +0000 (+0200) Subject: Make `buffer-offer-save' permanently local X-Git-Tag: emacs-pretest-24.0.90~104^2~223 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3ee3a1b5386a4df89314aa10ee1e596ae3d60446;p=emacs.git Make `buffer-offer-save' permanently local Fixes: debbugs:6241 --- 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 + * 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.