]> git.eshelyaron.com Git - emacs.git/commit
Make which-func-mode output less junk
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 8 Aug 2022 12:31:54 +0000 (14:31 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 8 Aug 2022 12:32:33 +0000 (14:32 +0200)
commit55cc8b040b0e3c5f97fd1386d1e9c5a120be6340
treee34e21804caeb4977d269fedd347fafeaf5fd21e
parent3d7d8ddc5ac73ebeb4aff9e672e649c8352beeb2
Make which-func-mode output less junk

* lisp/emacs-lisp/lisp-mode.el (lisp-current-defun-name): Use
edebug specs to find the name (if they exist), and default to
returning the top-level symbol if there isn't a define-like form
(bug#49592).
lisp/emacs-lisp/lisp-mode.el
lisp/progmodes/which-func.el
test/lisp/emacs-lisp/lisp-mode-tests.el