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

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

[nongnu] elpa/evil-surround 123b30135b 162/175: Merge pull request #191


From: ELPA Syncer
Subject: [nongnu] elpa/evil-surround 123b30135b 162/175: Merge pull request #191 from dalanicolai/master
Date: Mon, 9 Oct 2023 13:01:16 -0400 (EDT)

branch: elpa/evil-surround
commit 123b30135bcb181d00e351d714263eaa137ae10b
Merge: 2bc8aa6425 4fbe6bf9ca
Author: Tom Dalziel <33435574+tomdl89@users.noreply.github.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #191 from dalanicolai/master
    
    Limit global activation to 'text-mode' and 'prog-mode'
---
 evil-surround.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/evil-surround.el b/evil-surround.el
index e20e0cd97a..0182207cf3 100644
--- a/evil-surround.el
+++ b/evil-surround.el
@@ -493,7 +493,7 @@ Becomes this:
 ;;;###autoload
 (define-globalized-minor-mode global-evil-surround-mode
   evil-surround-mode turn-on-evil-surround-mode
-  "Global minor mode to emulate surround.vim.")
+  :predicate '(text-mode prog-mode comint-mode))
 
 (evil-define-key 'operator evil-surround-mode-map "s" 'evil-surround-edit)
 (evil-define-key 'operator evil-surround-mode-map "S" 'evil-Surround-edit)



reply via email to

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