Another lisp-current-defun-name tweak
* lisp/emacs-lisp/lisp-mode.el (lisp-current-defun-name): Avoid error when edebug spec is the symbol t.
This commit is contained in:
parent
d2080e4183
commit
fe4fd160a2
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue