emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/multiple-cursors 759391e 045/434: Don't message about skip


From: ELPA Syncer
Subject: [nongnu] elpa/multiple-cursors 759391e 045/434: Don't message about skipping known run-once commands
Date: Sat, 7 Aug 2021 09:19:52 -0400 (EDT)

branch: elpa/multiple-cursors
commit 759391e04d5aca5a6888fc53c1fa10188bdcc113
Author: Magnar Sveen <magnars@gmail.com>
Commit: Magnar Sveen <magnars@gmail.com>

    Don't message about skipping known run-once commands
---
 multiple-cursors-core.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/multiple-cursors-core.el b/multiple-cursors-core.el
index af9f2cc..6ddbd01 100644
--- a/multiple-cursors-core.el
+++ b/multiple-cursors-core.el
@@ -128,7 +128,8 @@ cursors."
   (if (memq this-original-command mc--unsupported-cmds)
       (message "%S is not supported with multiple cursors" 
this-original-command)
     (if (not (memq this-original-command mc--cmds))
-        (message "Skipping %S" this-original-command)
+        (when (not (memq this-original-command mc--cmds-run-once))
+          (message "Skipping %S" this-original-command))
       (mc/execute-command-for-all-fake-cursors this-original-command))))
 
 (defun mc/remove-fake-cursors ()



reply via email to

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