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

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

[nongnu] elpa/evil-lisp-state 9d07f9efad 116/125: Reapply fix of confusi


From: ELPA Syncer
Subject: [nongnu] elpa/evil-lisp-state 9d07f9efad 116/125: Reapply fix of confusion message when toggling state
Date: Thu, 6 Jan 2022 04:58:46 -0500 (EST)

branch: elpa/evil-lisp-state
commit 9d07f9efad1fa5b60fe6693b0aa03d2fd0e62dfa
Author: syl20bnr <sylvain.benner@gmail.com>
Commit: syl20bnr <sylvain.benner@gmail.com>

    Reapply fix of confusion message when toggling state
---
 evil-lisp-state.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/evil-lisp-state.el b/evil-lisp-state.el
index bc2540085f..0fc9af971b 100644
--- a/evil-lisp-state.el
+++ b/evil-lisp-state.el
@@ -259,11 +259,12 @@ 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)
   "Wrap a symbol with parenthesis."
   (interactive "P")



reply via email to

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