opensubscriber
   Find in this group all groups
 
Unknown more information…

e : emacs-devel@gnu.org 11 July 2012 • 12:11PM -0400

toggle-read-only should not give compilation warnings
by Chong Yidong

REPLY TO AUTHOR
 
REPLY TO GROUP




There are lots of toggle-read-only warnings in the Emacs Lisp source
tree.  As far as I can tell, the overwhelming majority of these are all
legitimate use cases.  The typical intention is "do whatever the
`toggle-read-only' command does, then do some other stuff on top of
that," so the caveat about toggle-read-only not being used in Lisp code
is bogus.

Instead of sprinking with-no-warnings all over, I propose removing
toggle-read-only from byte-compile-interactive-only-functions.  Any
objections?


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.