emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

which-func.el unconditionally requiring edebug


From: Juanma Barranquero
Subject: which-func.el unconditionally requiring edebug
Date: Fri, 25 Nov 2022 19:44:28 +0100


Lars, would it be possible to delay (require 'edebug) until lisp-current-defun-name is going to be used?

  commit 55cc8b040b0e3c5f97fd1386d1e9c5a120be6340
  Author: Lars Ingebrigtsen <larsi@gnus.org>
  Date:   2022-08-08 14:31:54 +0200

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

I've spent quite a while trying to understand why 

(setq edebug-inhibit-emacs-lisp-mode-bindings t)

was not working, turns out that I have 

(eval-when-compile (require 'which-fun))

early in my .emacs and I certainly wasn't expecting it to affect edebug. The change isn't even mentioned in the commit log.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]