[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-goggles 0afe8cf165 020/225: Fix no-whitespace check
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-goggles 0afe8cf165 020/225: Fix no-whitespace check |
Date: |
Wed, 12 Jan 2022 08:58:39 -0500 (EST) |
branch: elpa/evil-goggles
commit 0afe8cf165e9a8d2eb630b8b2b774617784bbe6f
Author: Evgeni Kolev <evgenysw@gmail.com>
Commit: Evgeni Kolev <evgenysw@gmail.com>
Fix no-whitespace check
---
evil-goggles.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/evil-goggles.el b/evil-goggles.el
index 1ffaaf2ff4..3cb79a843a 100644
--- a/evil-goggles.el
+++ b/evil-goggles.el
@@ -81,7 +81,7 @@
(not (evil-visual-state-p))
(not (evil-insert-state-p))
;; don't show overlay when the region has nothing but whitespace
- (not (string-match "^[ \t\n]+$" (buffer-substring-no-properties beg
end)))))
+ (not (null (string-match-p "[^ \t\n]" (buffer-substring-no-properties
beg end))))))
(defun evil-goggles--evil-delete-advice (orig-fun beg end &optional type
register yank-handler)
(evil-goggles--with-goggles beg end 'evil-delete
- [nongnu] elpa/evil-goggles aad4b44727 181/225: evil-goggles--show-hint: fix value of evil-goggles--force-block, (continued)
- [nongnu] elpa/evil-goggles aad4b44727 181/225: evil-goggles--show-hint: fix value of evil-goggles--force-block, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles deab4966d7 183/225: README: reverse NEWS, newest on top, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles a7340dbb49 185/225: Run travis tests on Emacs 25.3, set `load-prefer-newer` to t in tests, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 89fcaebb6e 187/225: Add hint for `c`, `C` and `S` actions #18, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 57f45c2582 189/225: Temporarily disable change hint until #19 is resolved, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles c0afde5d66 202/225: Remove depracated variable, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 2e5452b6a5 216/225: Revert "evil-goggles--show-p: no need to check evil-inhibit-operator-value", ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 78454a7e8b 220/225: Merge pull request #24 from unhammer/count-lines-speedup, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 1f8ca71acd 221/225: Fix custom variable's label, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles fa7dca4f82 016/225: Cleanup delete advice, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 0afe8cf165 020/225: Fix no-whitespace check,
ELPA Syncer <=
- [nongnu] elpa/evil-goggles 55ecf5c2c4 045/225: Update README.md, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 450e153a2d 046/225: Depend on emacs 25 for `funcall-interactively', ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 99d3416598 049/225: Update README.md, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 9927490983 042/225: Update README.md, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 08da44cf83 057/225: Add the evil-goggles face, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles ef1cad8f3a 064/225: Re-add paste and fill-and-move, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 179c3002f2 071/225: Update README.md, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 904fc39728 072/225: Add doc for evil-goggles-use-diff-faces, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles e65aa39749 083/225: Add support for block paste, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 685e3714a5 090/225: Handle a specific u/redo case when the list has 2 connecting items, ELPA Syncer, 2022/01/12