* etc/TODO: ** buffer-offer-save should be a permanent local.
@ 2006-10-22 12:18 Yoni Rabkin Katzenell
2006-10-23 11:45 ` Richard Stallman
0 siblings, 1 reply; 2+ messages in thread
From: Yoni Rabkin Katzenell @ 2006-10-22 12:18 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 183 bytes --]
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."
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: buffer-offer-save.patch --]
[-- Type: text/x-patch, Size: 541 bytes --]
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.
[-- Attachment #3: Type: text/plain, Size: 56 bytes --]
--
"Cut your own wood and it will warm you twice"
[-- Attachment #4: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: etc/TODO: ** buffer-offer-save should be a permanent local.
2006-10-22 12:18 etc/TODO: ** buffer-offer-save should be a permanent local Yoni Rabkin Katzenell
@ 2006-10-23 11:45 ` Richard Stallman
0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2006-10-23 11:45 UTC (permalink / raw)
Cc: emacs-devel
etc/TODO says: "** buffer-offer-save should be a permanent local."
I think the reason I put that in etc/TODO, rather than implementing
at the moment, was because it is necessary to check the various
modes which set the variable and make sure they don't break.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-23 11:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-22 12:18 etc/TODO: ** buffer-offer-save should be a permanent local Yoni Rabkin Katzenell
2006-10-23 11:45 ` Richard Stallman
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).