]> git.eshelyaron.com Git - emacs.git/commit
Don't let docless variables hide function signature
authorJoão Távora <joaotavora@gmail.com>
Sun, 16 Aug 2020 18:03:37 +0000 (19:03 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sun, 16 Aug 2020 18:05:05 +0000 (19:05 +0100)
commitdf2ae3f9c1d01a8be4ea08062501dbce680de3d1
tree54746d3c23e5aef8ad85ae38c7fe542f2da18a52
parent1eae0a8784f5c2635f9dda1b78066ecee01dec10
Don't let docless variables hide function signature

In Elisp mode, ElDoc will try the variable's docstring first, then the
function signature.  If the former doesn't have one, don't hide the
latter.

* lisp/progmodes/elisp-mode.el (elisp-eldoc-var-docstring): If no
symbol docstring, don't declare any.
lisp/progmodes/elisp-mode.el