]> git.eshelyaron.com Git - emacs.git/commit
Function-quote completion property of declare form
authorBasil L. Contovounesios <contovob@tcd.ie>
Sat, 20 Feb 2021 18:55:12 +0000 (18:55 +0000)
committerBasil L. Contovounesios <contovob@tcd.ie>
Fri, 26 Feb 2021 11:26:22 +0000 (11:26 +0000)
commit752278834b3d317a65135cdaa392b0468ce7372c
tree3c75660c53f0fd5fd925fe94f10509efa5e4c601
parent70f2d658e42120c289c4a3c043b5d5b1331bc183
Function-quote completion property of declare form

For discussion, see the following thread:
https://lists.gnu.org/r/emacs-devel/2021-02/msg01666.html

* lisp/emacs-lisp/byte-run.el (byte-run--set-completion): Quote with
'function' for syntactical consistency with other declare form
properties.  This allows writing (declare (completion foo)) instead
of (declare (completion 'foo)).
* lisp/emacs-lisp/easymenu.el (easy-menu-do-define):
* lisp/gnus/gnus-sum.el (gnus-summary-make-menu-bar): Prefer
function-put over put for function symbols.
* lisp/subr.el (ignore, undefined): Remove #'-quoting from declare
form; it is no longer needed.
lisp/emacs-lisp/byte-run.el
lisp/emacs-lisp/easymenu.el
lisp/gnus/gnus-sum.el
lisp/subr.el