emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master f3c78c6ea7: Do interactive mode tagging in edmacro.el


From: Stefan Kangas
Subject: master f3c78c6ea7: Do interactive mode tagging in edmacro.el
Date: Wed, 22 Jun 2022 06:14:57 -0400 (EDT)

branch: master
commit f3c78c6ea7045734fa5e524d683d6cf6435b90bb
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Do interactive mode tagging in edmacro.el
    
    * lisp/edmacro.el (edmacro-finish-edit, edmacro-insert-key):
    Add interactive mode tag for edmacro-mode.
---
 lisp/edmacro.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/edmacro.el b/lisp/edmacro.el
index 2f5a8c137e..bdc50c5885 100644
--- a/lisp/edmacro.el
+++ b/lisp/edmacro.el
@@ -255,7 +255,7 @@ or nil, use a compact 80-column format."
 ;;; Commands for *Edit Macro* buffer.
 
 (defun edmacro-finish-edit ()
-  (interactive)
+  (interactive nil edmacro-mode)
   (unless (eq major-mode 'edmacro-mode)
     (error
      "This command is valid only in buffers created by `edit-kbd-macro'"))
@@ -366,7 +366,7 @@ or nil, use a compact 80-column format."
 
 (defun edmacro-insert-key (key)
   "Insert the written name of a KEY in the buffer."
-  (interactive "kKey to insert: ")
+  (interactive "kKey to insert: " edmacro-mode)
   (if (bolp)
       (insert (edmacro-format-keys key t) "\n")
     (insert (edmacro-format-keys key) " ")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]