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

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

[nongnu] elpa/evil-lisp-state df3f2e1a3c 111/125: Fix confusing message


From: ELPA Syncer
Subject: [nongnu] elpa/evil-lisp-state df3f2e1a3c 111/125: Fix confusing message in toggle state func
Date: Thu, 6 Jan 2022 04:58:45 -0500 (EST)

branch: elpa/evil-lisp-state
commit df3f2e1a3cdaf6b198ebf79465a45b25e717389a
Author: justbur <justin@burkett.cc>
Commit: syl20bnr <sylvain.benner@gmail.com>

    Fix confusing message in toggle state func
---
 evil-lisp-state.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/evil-lisp-state.el b/evil-lisp-state.el
index ff49bcd143..bcc8023481 100644
--- a/evil-lisp-state.el
+++ b/evil-lisp-state.el
@@ -247,9 +247,11 @@ If `evil-lisp-state-global' is non nil then this variable 
has no effect."
 (defun lisp-state-toggle-lisp-state ()
   "Toggle the lisp state."
   (interactive)
-  (message "state: %s" evil-state)
   (if (eq 'lisp evil-state)
-      (evil-normal-state)
+      (progn
+        (message "state: lisp -> normal")
+        (evil-normal-state))
+    (message "state: %s -> lisp" evil-state)
     (evil-lisp-state)))
 
 (defun lisp-state-wrap (&optional arg)



reply via email to

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