More safe local variables

2006-05-01 Thread Bill Wohler
Emacs complained about these local variables after a fresh update (it's
been a couple of weeks):

;; no-byte-compile: t
;; indent-tabs-mode: nil

I thought these had been made safe.

-- 
Bill Wohler [EMAIL PROTECTED]  http://www.newt.com/wohler/  GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


More safe local variables

2006-04-22 Thread Johan Bockgård

`hack-one-local-variable-eval-safep' looks for `(put ...)' expressions
involving the `lisp-indent-hook' property, but not the
`lisp-indent-function' variant. The latter is the one that is
documented in the manual.

Maybe it should handle the `common-lisp-indent-function' property too
(used by cl-indent.el).

Currently

(hack-one-local-variable-eval-safep
 '(put 'foo 'lisp-indent-hook 0))  = t
(hack-one-local-variable-eval-safep
 '(put 'foo 'lisp-indent-function 0))  = nil
(hack-one-local-variable-eval-safep
 '(put 'foo 'common-lisp-indent-function 0))   = nil


(And maybe `hack-one-local-variable-eval-safep' could use the
`safe-local-eval-function' property mechanism for checking `put'
expressions.)


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug