]> git.eshelyaron.com Git - emacs.git/commit
Allow specifying how args are to be stored in `command-history'
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 8 Aug 2022 13:52:19 +0000 (15:52 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 8 Aug 2022 13:53:41 +0000 (15:53 +0200)
commitffc81ebc4b5d6cfc827e6a08679da55134f73fb5
tree0d285330a12d247433e1e5805ede15a9c5a0b62f
parent498c5d26bb6360eda5c6cedbcf027e2cc67120ff
Allow specifying how args are to be stored in `command-history'

* doc/lispref/functions.texi (Declare Form): Document
`interactive-args'
* lisp/replace.el (replace-string): Store the correct interactive
arguments (bug#45607).

* lisp/emacs-lisp/byte-run.el (byte-run--set-interactive-args):
New function.
(defun-declarations-alist): Use it.

* src/callint.c (fix_command): Remove the old hack (which now
longer works since interactive specs are byte-compiled) and
instead rely on `interactive-args'.
doc/lispref/functions.texi
lisp/emacs-lisp/byte-run.el
lisp/replace.el
src/callint.c
test/src/callint-tests.el