|
From: | Samuel Bronson |
Subject: | Re: toggle-read-only should not give compilation warnings |
Date: | Wed, 11 Jul 2012 12:23:51 -0400 |
On Jul 11, 2012, at 12:11 AM, Chong Yidong wrote:
There are lots of toggle-read-only warnings in the Emacs Lisp sourcetree. As far as I can tell, the overwhelming majority of these are alllegitimate use cases. The typical intention is "do whatever the `toggle-read-only' command does, then do some other stuff on top ofthat," so the caveat about toggle-read-only not being used in Lisp codeis bogus. Instead of sprinking with-no-warnings all over, I propose removing toggle-read-only from byte-compile-interactive-only-functions. Any objections?
Maybe we need an "explain why the byte compiler warning for the next form is inapplicable" form?
[Prev in Thread] | Current Thread | [Next in Thread] |