unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Moved safe-local-variable properties from `files.el'
@ 2006-05-11 15:02 Reiner Steib
  2006-05-12  4:15 ` Richard Stallman
  0 siblings, 1 reply; 6+ messages in thread
From: Reiner Steib @ 2006-05-11 15:02 UTC (permalink / raw)


Hi,

I continued to move the safe-local-variable properties from `files.el'
to the files where the variables are defined (if they aren't defined
in C code).  I noticed a few discrepancies:

- (put 'byte-compile-warnings 'safe-local-variable 'booleanp)

  The custom type allows:

  :type `(choice (const :tag "All" t)
		 (set :menu-tag "Some"
		      (const free-vars) (const unresolved)
		      (const callargs) (const redefine)
		      (const obsolete) (const noruntime)
		      (const cl-functions) (const interactive-only))))

  I.e. `booleanp' doesn't allow a list.

- In `files.el' we had: (c-file-style . stringp).  If changed it to
  (put 'c-file-style 'safe-local-variable 'string-or-null-p).

- In `files.el' we had: (version-control . symbolp)

  The custom type allows:

  :type '(choice (const :tag "Never" never)
		 (const :tag "If existing" nil)
		 (other :tag "Always" t))

  I.e. `symbolp' might allow too much.

- `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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-05-13 20:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2006-05-13  4:52     ` Richard Stallman
2006-05-13  9:34       ` Reiner Steib
2006-05-13 20:41         ` 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).