all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Liu <sdl.web@gmail.com>
To: 19324@debbugs.gnu.org
Subject: bug#19324: 25.0.50; add-function and nil
Date: Tue, 09 Dec 2014 12:55:22 +0800	[thread overview]
Message-ID: <87vbllxw05.fsf@gmail.com> (raw)


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





             reply	other threads:[~2014-12-09  4:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-09  4:55 Leo Liu [this message]
2014-12-10 19:54 ` bug#19324: 25.0.50; add-function and nil 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vbllxw05.fsf@gmail.com \
    --to=sdl.web@gmail.com \
    --cc=19324@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.