]> git.eshelyaron.com Git - emacs.git/commit
Remove duplicate code in edmacro-parse-keys
authorStefan Kangas <stefan@marxist.se>
Wed, 13 Oct 2021 20:54:47 +0000 (22:54 +0200)
committerStefan Kangas <stefan@marxist.se>
Sat, 16 Oct 2021 14:07:03 +0000 (16:07 +0200)
commit8ee63604e3738750a845b7d03563942a94052bd9
tree30aa9f7927d181fe40b8d4c4f3e2a52b0c3ac1b7
parente082a1628444125ca36c222d81bf5fe8a84ccbc5
Remove duplicate code in edmacro-parse-keys

* lisp/subr.el (kbd): Add argument NEED-VECTOR and make it suitable
for calling from 'edmacro-parse-keys'.
* lisp/edmacro.el (edmacro-parse-keys): Replace definition with a
call to 'kbd'.

This change was discussed in:
https://lists.gnu.org/r/emacs-devel/2021-10/msg00909.html
lisp/edmacro.el
lisp/subr.el