Subject: bug#49592: 28.0.50; lisp-current-defun-name and non-standard defuns

From: Michael Heerdegen <[email-masked]>
Date: Wed, 24 Aug 2022 00:57:45 +0200

Lars Ingebrigtsen <[email-masked]> writes:

> 2022-08-23  Lars Ingebrigtsen  <[email-masked]>
>
> 	* lisp/emacs-lisp/lisp-mode.el (lisp-current-defun-name): Revert
> 	back to the old version before bug#49592.  The new approach just
> 	doesn't work well enough -- we don't really have the data to know
> 	that, say, `make-obsolete-variable' is about the second symbol and
> 	not the first.

Is that because of `make-obsolete-variable's (indent defun) spec?  (And
is that even appropriate?)

Did you see examples where the edebug spec based mechanism you added
failed?  Or maybe only this part:

  (and (eq (get symbol 'lisp-indent-function) 'defun)
       (get 'defun 'edebug-form-spec))

was inappropriate?

Michael.