unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* eldoc-documentation-function
@ 2020-09-16  9:01 martin rudalics
  0 siblings, 0 replies; only message in thread
From: martin rudalics @ 2020-09-16  9:01 UTC (permalink / raw)
  To: emacs-devel

When with Emacs 27 I insert in *scratch*

(defvar foo nil)

move point to the 'defvar' and do

(funcall eldoc-documentation-function)

I get something like

#("defvar: (SYMBOL &optional INITVALUE DOCSTRING)" 0 6 (face font-lock-keyword-face))

When I do the same with Emacs 28 I get

Debugger entered--Lisp error: (void-function nil)
   nil(:patient)
   eldoc--make-callback(:patient)
   eldoc-documentation-default()
   funcall(eldoc-documentation-default)
   (progn (funcall eldoc-documentation-function))
   eval((progn (funcall eldoc-documentation-function)) t)
   elisp--eval-last-sexp(nil)
   eval-last-sexp(nil)
   funcall-interactively(eval-last-sexp nil)
   call-interactively(eval-last-sexp nil nil)
   command-execute(eval-last-sexp)

What do I have to do to get the Emacs 27 behavior with Emacs 28?

Thanks in advance, martin



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-16  9:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-16  9:01 eldoc-documentation-function martin rudalics

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).