`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

Reply via email to