emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

etc/TODO: ** buffer-offer-save should be a permanent local.


From: Yoni Rabkin Katzenell
Subject: etc/TODO: ** buffer-offer-save should be a permanent local.
Date: Sun, 22 Oct 2006 14:18:15 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Hello, I am using GNU Emacs 22.0.50.2 (i686-pc-linux-gnu, X toolkit,
 Xaw3d scroll bars) of 2006-10-22 on ardbeg

etc/TODO says: "** buffer-offer-save should be a permanent local."

Index: files.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/files.el,v
retrieving revision 1.862
diff -u -r1.862 files.el
--- files.el    12 Oct 2006 23:00:44 -0000      1.862
+++ files.el    22 Oct 2006 12:01:49 -0000
@@ -148,6 +148,7 @@
   :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.

-- 
   "Cut your own wood and it will warm you twice"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]