emacs-devel
[Top][All Lists]
Advanced

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

Re: master 45a1653: ; Fix last change to bibtex.el


From: Stefan Monnier
Subject: Re: master 45a1653: ; Fix last change to bibtex.el
Date: Wed, 18 Nov 2020 16:31:50 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> The problem is really about allowing user-defined functions.  If one
> excludes user-defined functions and allows only predefined
> functions, the entire 'funcall ...-function' thing is not needed,
> that is, the variable can hold a symbol that triggers a hard-coded call
> of a predefined function.

I don't understand the "the entire ...".  AFAICT the replacement would
be bigger.  So the use of (funcall ...-function) is really a way to make
the code simpler, and it just happens to come with the side benefit of
being also more flexible.

And indeed with the :safe keyword you can specify a number of value that
can be assumed to be safe, while any other value will be raise alarms.


        Stefan




reply via email to

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