unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19324: 25.0.50; add-function and nil
@ 2014-12-09  4:55 Leo Liu
  2014-12-10 19:54 ` Stefan Monnier
  0 siblings, 1 reply; 9+ messages in thread
From: Leo Liu @ 2014-12-09  4:55 UTC (permalink / raw)
  To: 19324


1. Goto a buffer (e.g. text-mode) with eldoc-documentation-function nil
2. (add-function :after-until (local 'eldoc-documentation-function) #'ignore)
3. Move around to trigger eldoc error: (void-function nil)

Looks like the orig function is unconditionally called without checking
it's a function object.

Leo





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-12-12  0:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-09  4:55 bug#19324: 25.0.50; add-function and nil Leo Liu
2014-12-10 19:54 ` Stefan Monnier
2014-12-11  0:57   ` Leo Liu
2014-12-11  2:48     ` Stefan Monnier
2014-12-11  3:54       ` Leo Liu
2014-12-11 17:01         ` Stefan Monnier
2014-12-11 17:46           ` Leo Liu
2014-12-11 19:11             ` Stefan Monnier
2014-12-12  0:44               ` Leo Liu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).