diff options
author | Noam Postavsky <npostavs@gmail.com> | 2017-02-21 21:31:24 -0500 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2017-02-21 21:44:54 -0500 |
commit | 907bad07f25ca91e72ebb29a468c6b1b8b91fa49 (patch) | |
tree | 2fe7ea502e0c17b0670f5d68f6aa66b3e7a1a2bb /lisp/emacs-lisp/helper.el | |
parent | 3f1cd957ff319ce4b2ae94d656c9c702fa9ce653 (diff) | |
download | emacs-907bad07f25ca91e72ebb29a468c6b1b8b91fa49.tar.gz emacs-907bad07f25ca91e72ebb29a468c6b1b8b91fa49.tar.bz2 emacs-907bad07f25ca91e72ebb29a468c6b1b8b91fa49.zip |
Find macro binding for symbol-bound macros too (Bug#6848)
There are 2 ways to bind a macro: with global-set-key or
kmacro-bind-to-key. The former binds a key to a symbol, while the
latter binds to a lambda. In 2010-03-03 "Fix keyboard macro key
lookup (Bug#5481)", `insert-kbd-macro' was fixed to detect the lambda
case, but broke the symbol case.
* lisp/macros.el (insert-kbd-macro): Also check for bindings of
MACRONAME.
Diffstat (limited to 'lisp/emacs-lisp/helper.el')
0 files changed, 0 insertions, 0 deletions