projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2080e4
)
Another lisp-current-defun-name tweak
author
Michael Heerdegen
<michael_heerdegen@web.de>
Tue, 9 Aug 2022 01:55:14 +0000
(
03:55
+0200)
committer
Michael Heerdegen
<michael_heerdegen@web.de>
Tue, 9 Aug 2022 02:01:29 +0000
(
04:01
+0200)
* lisp/emacs-lisp/lisp-mode.el (lisp-current-defun-name): Avoid error
when edebug spec is the symbol t.
lisp/emacs-lisp/lisp-mode.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/lisp-mode.el
b/lisp/emacs-lisp/lisp-mode.el
index 82afa31ef12e1a2e2a11d57de68ef4d68def9ee1..1bc2c0ece6d93c1515122da4107f7a9d8f6b4188 100644
(file)
--- a/
lisp/emacs-lisp/lisp-mode.el
+++ b/
lisp/emacs-lisp/lisp-mode.el
@@
-762,7
+762,7
@@
decided heuristically.)"
(when symbol
(let ((spec (get symbol 'edebug-form-spec)))
(save-excursion
- (when (and (eq (car spec) '&define)
+ (when (and (eq (car
-safe
spec) '&define)
(memq 'name spec))
(pop spec)
(while (and spec (not name))