]> git.eshelyaron.com Git - emacs.git/commit
Set the 'name' prop in 'define-advice'
authorSteven Allen <steven@stebalien.com>
Sat, 6 Jan 2024 17:19:12 +0000 (09:19 -0800)
committerEli Zaretskii <eliz@gnu.org>
Sat, 13 Jan 2024 09:43:01 +0000 (11:43 +0200)
commit9b8b352ebc09de3259f655fa4d491507109044b3
tree96da6d2df21dc596f0b5abad252062c0303e5b0f
parentf2cc8ee2a1a106f9045447a1a025572d7938647e
Set the 'name' prop in 'define-advice'

In addition to naming the advice function `symbol@name', set
the 'name' property to NAME.
* lisp/emacs-lisp/nadvice.el (define-advice): set the 'name'
property to NAME (requested in Bug#68114).  Fixes Bug#68294.

* doc/lispref/functions.texi (Advising Named Functions): Document
that 'define-advice' installs the advice with the specified name.
doc/lispref/functions.texi
etc/NEWS
lisp/emacs-lisp/nadvice.el