diff options
| author | Karoly Lorentey | 2004-11-13 18:21:48 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-11-13 18:21:48 +0000 |
| commit | f590a2a442d19f3a74d7bbd02bbcb4e3239f2327 (patch) | |
| tree | 0ea1998c7a87cdc3faa9d00d3ea71b981cc1153a /lisp/macros.el | |
| parent | 050ddd28da8d0bb44f06575e93c6bd7feb758829 (diff) | |
| parent | c37ee7cb84b11bf38e1f391b2015a2ec74e5c4e1 (diff) | |
| download | emacs-f590a2a442d19f3a74d7bbd02bbcb4e3239f2327.tar.gz emacs-f590a2a442d19f3a74d7bbd02bbcb4e3239f2327.zip | |
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-672
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-266
Diffstat (limited to 'lisp/macros.el')
| -rw-r--r-- | lisp/macros.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/macros.el b/lisp/macros.el index 0de5d223ee0..bb9fda41a45 100644 --- a/lisp/macros.el +++ b/lisp/macros.el | |||
| @@ -63,7 +63,14 @@ 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 "CInsert kbd macro (name): \nP") | 66 | (interactive (list (intern (completing-read "Insert kbd macro (name): " |
| 67 | obarray | ||
| 68 | (lambda (elt) | ||
| 69 | (and (fboundp elt) | ||
| 70 | (or (stringp (symbol-function elt)) | ||
| 71 | (vectorp (symbol-function elt))))) | ||
| 72 | t)) | ||
| 73 | current-prefix-arg)) | ||
| 67 | (let (definition) | 74 | (let (definition) |
| 68 | (if (string= (symbol-name macroname) "") | 75 | (if (string= (symbol-name macroname) "") |
| 69 | (progn | 76 | (progn |