emacs-devel
[Top][All Lists]
Advanced

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

Re: Disabled commands


From: Kevin Rodgers
Subject: Re: Disabled commands
Date: Thu, 09 Feb 2006 11:46:58 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Stefan Monnier wrote:
While on this side-subject, any objection to the patch below?
...
--- orig/lisp/files.el
+++ mod/lisp/files.el
@@ -3614,6 +3570,7 @@
   (message (if arg "Modification-flag set"
               "Modification-flag cleared"))
   (set-buffer-modified-p arg))
+(put 'not-modified 'disabled t)
(defun toggle-read-only (&optional arg)
   "Change whether this buffer is visiting its file read-only.

Not at all, I've got that in my .emacs anyway.  :-)

--
Kevin Rodgers





reply via email to

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