diff options
| author | Kim F. Storm | 2004-11-28 23:57:47 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2004-11-28 23:57:47 +0000 |
| commit | 5edd7c333a9f6ecfd34753f5d8e8203cf6463367 (patch) | |
| tree | 40df6059ba77eb49a2a1c557386e2cf83851ede5 /lisp | |
| parent | bbf877e1c28441b3fa8081e28fc11db5e7705ed0 (diff) | |
| download | emacs-5edd7c333a9f6ecfd34753f5d8e8203cf6463367.tar.gz emacs-5edd7c333a9f6ecfd34753f5d8e8203cf6463367.zip | |
(insert-kbd-macro): Handle kmacro functions.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/macros.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/macros.el b/lisp/macros.el index bb9fda41a45..41024e4e40f 100644 --- a/lisp/macros.el +++ b/lisp/macros.el | |||
| @@ -63,12 +63,13 @@ bindings. | |||
| 63 | 63 | ||
| 64 | To save a kbd macro, visit a file of Lisp code such as your `~/.emacs', | 64 | To save a kbd macro, visit a file of Lisp code such as your `~/.emacs', |
| 65 | use this command, and then save the file." | 65 | use this command, and then save the file." |
| 66 | (interactive (list (intern (completing-read "Insert kbd macro (name): " | 66 | (interactive (list (intern (completing-read "Insert kbd macro (name): " |
| 67 | obarray | 67 | obarray |
| 68 | (lambda (elt) | 68 | (lambda (elt) |
| 69 | (and (fboundp elt) | 69 | (and (fboundp elt) |
| 70 | (or (stringp (symbol-function elt)) | 70 | (or (stringp (symbol-function elt)) |
| 71 | (vectorp (symbol-function elt))))) | 71 | (vectorp (symbol-function elt)) |
| 72 | (get elt 'kmacro)))) | ||
| 72 | t)) | 73 | t)) |
| 73 | current-prefix-arg)) | 74 | current-prefix-arg)) |
| 74 | (let (definition) | 75 | (let (definition) |