help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to quote a list of functions?


From: Emanuel Berg
Subject: Re: How to quote a list of functions?
Date: Thu, 13 Aug 2015 03:59:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> (put #'upcase-region 'disabled nil)
>
> FWIW, my opinion is that #' should be used only in
> those places that expect a function value. IOW,
> I think of #'foo as a shorthand for (lambda (..)
> (foo ...)) or (symbol-function 'foo).
>
> So I wouldn't use it after `put' since put only
> accepts symbols (regardless if those symbols work
> can be used as functions or not).

OK - but I never used `lambda' or `symbol-fucntion' in
any of those cases.

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

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