From: Reiner Steib <reinersteib+gmane@imap.cc>
Cc: emacs-devel@gnu.org
Subject: Re: Moved safe-local-variable properties from `files.el'
Date: Fri, 12 May 2006 14:31:03 +0200 [thread overview]
Message-ID: <v9slnfpgqg.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <E1FeP3j-0002NT-Dv@fencepost.gnu.org> (Richard Stallman's message of "Fri, 12 May 2006 00:15:23 -0400")
On Fri, May 12 2006, Richard Stallman wrote:
> If you would like to correct the property predicates
> for these variables, that would be useful.
I've committed a correction for `version-control'.
For `byte-compile-warnings', I'll commit the following, unless someone
suggests a better solution:
--8<---------------cut here---------------start------------->8---
--- bytecomp.el 11 May 2006 15:50:13 +0200 2.184
+++ bytecomp.el 12 May 2006 14:24:00 +0200
@@ -357,7 +357,20 @@
(const callargs) (const redefine)
(const obsolete) (const noruntime)
(const cl-functions) (const interactive-only))))
-;;;###autoload(put 'byte-compile-warnings 'safe-local-variable 'booleanp)
+(put 'byte-compile-warnings 'safe-local-variable 'byte-compile-warnings-safe-p)
+;;;###autoload
+(defun byte-compile-warnings-safe-p (x)
+ (or (booleanp x)
+ (and (listp x)
+ (equal (mapcar
+ (lambda (e)
+ (when (memq e '(free-vars unresolved
+ callargs redefine
+ obsolete noruntime
+ cl-functions interactive-only))
+ e))
+ x)
+ x))))
(defvar byte-compile-interactive-only-functions
'(beginning-of-buffer end-of-buffer replace-string replace-regexp
--8<---------------cut here---------------end--------------->8---
I don't know what to do WRT `no-update-autoloads':
>> - `no-update-autoloads':
>> I couldn't find a defvar/defcustom and it's not documented in
>> (info "(emacs)Specifying File Variables").
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
next prev parent reply other threads:[~2006-05-12 12:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-11 15:02 Moved safe-local-variable properties from `files.el' Reiner Steib
2006-05-12 4:15 ` Richard Stallman
2006-05-12 12:31 ` Reiner Steib [this message]
2006-05-13 4:52 ` Richard Stallman
2006-05-13 9:34 ` Reiner Steib
2006-05-13 20:41 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=v9slnfpgqg.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.