[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] allow function values for `enable-local-eval'

From: Kim F. Storm
Subject: Re: [PATCH] allow function values for `enable-local-eval'
Date: 02 Jul 2002 23:20:43 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Richard Stallman <address@hidden> writes:

>     Well, I still need to do
>           (put 'c-add-style 'safe-local-eval-function t)
>     in my .emacs, but that's easier than writing my own
>     hook function.
> We will do that by default for c-add-style, and various other
> safe functions for which users request it.

lisp/ediff-init.el and ediff-diff.el have these lines which
triggers the eval question:

;;; eval: (put 'ediff-defvar-local 'lisp-indent-hook 'defun)
;;; eval: (put 'ediff-with-current-buffer 'lisp-indent-hook 1)
;;; eval: (put 'ediff-with-current-buffer 'edebug-form-spec '(form body))

I don't think `put' should be a safe-local-eval-function, but maybe
it is ok to allow 'edebug-form-spec in addition to 'lisp-indent-hook ?

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

[Prev in Thread] Current Thread [Next in Thread]