diff options
author | Noam Postavsky <npostavs@gmail.com> | 2019-05-05 13:24:15 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2019-05-12 08:05:01 -0400 |
commit | 29531785a17acf519070b73b488ad87ddd94aff7 (patch) | |
tree | 21e4b14803a7e12145fb92327876e9cc728041dc /lisp/kmacro.el | |
parent | b1cc876b6c9d00cd9d9f4ed65176274bf35a81c4 (diff) | |
download | emacs-29531785a17acf519070b73b488ad87ddd94aff7.tar.gz |
Improve printing for named keyboard macros (Bug#35486)
* lisp/macros.el (macros--insert-vector-macro): New function,
extracted from insert-kbd-macro.
(insert-kbd-macro): Use it and kmacro-extract-lambda to produce nicer
expressions for macros produced by kmacro-lambda-form.
Diffstat (limited to 'lisp/kmacro.el')
-rw-r--r-- | lisp/kmacro.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/kmacro.el b/lisp/kmacro.el index fc34e167084..01dc0586140 100644 --- a/lisp/kmacro.el +++ b/lisp/kmacro.el @@ -776,6 +776,7 @@ If kbd macro currently being defined end it before activating it." ;; letters and digits, provided that we inhibit the keymap while ;; executing the macro later on (but that's controversial...) +;;;###autoload (defun kmacro-lambda-form (mac &optional counter format) "Create lambda form for macro bound to symbol or key." (if counter |