Mercurial > emacs
changeset 5772:daac61915408
(edit-kbd-macro, edmacro-finish-edit, insert-kbd-macro):
Pass (keymap) as KEYMAP arg to where-is-internal.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 04 Feb 1994 06:45:26 +0000 |
parents | 96fd8c241b42 |
children | 54baa5a15850 |
files | lisp/edmacro.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/edmacro.el Fri Feb 04 06:44:55 1994 +0000 +++ b/lisp/edmacro.el Fri Feb 04 06:45:26 1994 +0000 @@ -143,7 +143,7 @@ (insert ";; Original keys: " fmt "\n") (unless store-hook (insert "\nCommand: " (if cmd (symbol-name cmd) "none") "\n") - (let ((keys (where-is-internal (or cmd mac) nil))) + (let ((keys (where-is-internal (or cmd mac) '(keymap)))) (if keys (while keys (insert "Key: " (edmacro-format-keys (pop keys) 1) "\n")) @@ -278,7 +278,7 @@ (fset cmd mac))) (if no-keys (when cmd - (loop for key in (where-is-internal cmd nil) do + (loop for key in (where-is-internal cmd '(keymap)) do (global-unset-key key))) (when keys (if (= (length mac) 0) @@ -682,7 +682,7 @@ (prin1 definition (current-buffer)) (insert "))\n") (if keys - (let ((keys (where-is-internal macroname nil))) + (let ((keys (where-is-internal macroname '(keymap)))) (while keys (insert (format "(global-set-key %S '%s)\n" (car keys) macroname)) (setq keys (cdr keys)))))))