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

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

Re: (fset 'nil 'message)


From: rslovers
Subject: Re: (fset 'nil 'message)
Date: Sun, 13 May 2018 10:09:36 +0300

On Fri, May 11, 2018 at 08:39:16AM -0400, Noam Postavsky wrote:
> Yes, after you do (fset 'nil 'message), (functionp nil) returns t, but
> (funcall nil) still fails. Many places do things like
> 
> (when (functionp some-var)
>   (funcall some-var))
> 
> which will cause the errors you see if `some-var' is nil.
> 
> In Emacs 26, doing (fset 'nil 'message) will fail (see Bug#25110).
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25110

Thanks, appreciate the info.



reply via email to

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