aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/macros.el
diff options
context:
space:
mode:
authorKaroly Lorentey2004-11-13 18:21:48 +0000
committerKaroly Lorentey2004-11-13 18:21:48 +0000
commitf590a2a442d19f3a74d7bbd02bbcb4e3239f2327 (patch)
tree0ea1998c7a87cdc3faa9d00d3ea71b981cc1153a /lisp/macros.el
parent050ddd28da8d0bb44f06575e93c6bd7feb758829 (diff)
parentc37ee7cb84b11bf38e1f391b2015a2ec74e5c4e1 (diff)
downloademacs-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.el9
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
64To save a kbd macro, visit a file of Lisp code such as your `~/.emacs', 64To save a kbd macro, visit a file of Lisp code such as your `~/.emacs',
65use this command, and then save the file." 65use 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