[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-goggles 57f45c2582 189/225: Temporarily disable chang
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-goggles 57f45c2582 189/225: Temporarily disable change hint until #19 is resolved |
Date: |
Wed, 12 Jan 2022 08:59:07 -0500 (EST) |
branch: elpa/evil-goggles
commit 57f45c2582c53c9a11cb30700a0f889a489cedc2
Author: Evgeni Kolev <evgenysw@gmail.com>
Commit: Evgeni Kolev <evgenysw@gmail.com>
Temporarily disable change hint until #19 is resolved
---
evil-goggles.el | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/evil-goggles.el b/evil-goggles.el
index 48c2b57b6c..5c228250a0 100644
--- a/evil-goggles.el
+++ b/evil-goggles.el
@@ -330,7 +330,7 @@ so this package can work with Emacs 24"
(evil-goggles--funcall-interactively ,fun ,@args)
(funcall ,fun ,@args)))
-(defmacro evil-goggles--define-switch-and-face (switch-name switch-doc
face-name face-doc)
+(defmacro evil-goggles--define-switch-and-face (switch-name switch-doc
face-name face-doc &optional off-by-default)
"Helper macro defining an on/off var, a face, and duration var.
SWITCH-NAME is the name of the on/off variable.
@@ -338,10 +338,11 @@ SWITCH-DOC is the docstring for SWITCH-NAME.
FACE-NAME is the name of the custom face.
FACE-DOC is the docstring for FACE-NAME.
DUR-NAME is the name of the duration variable.
-DUR-DOC is the docstring for DUR-NAME."
+DUR-DOC is the docstring for DUR-NAME.
+OFF-BY-DEFAULT if non-nil will set the switch to `nil'"
(declare (indent 7) (debug t))
`(progn
- (defcustom ,switch-name t
+ (defcustom ,switch-name ,(if off-by-default nil t)
,(concat switch-doc "\nThis variable must be set before
`evil-goggles-mode' is enabled")
:type 'boolean
:group 'evil-goggles)
@@ -408,7 +409,8 @@ BEG END &OPTIONAL TYPE REGISTER YANK-HANDLER are the
arguments of the original f
(evil-goggles--define-switch-and-face
evil-goggles-enable-change "If non-nil, enable change support"
- evil-goggles-change-face "Face for change action")
+ evil-goggles-change-face "Face for change action"
+ :off-by-default)
(defun evil-goggles--evil-change-advice (orig-fun beg end &optional type
register yank-handler delete-func)
"Around-advice for function `evil-change`.
- [nongnu] elpa/evil-goggles b620c7512c 170/225: Update README, (continued)
- [nongnu] elpa/evil-goggles b620c7512c 170/225: Update README, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 2670fdf664 172/225: Revert `evaporate` overlay property, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 6d3247db6c 173/225: Enable pulsing by default on graphical displays, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles e2cccdf0c0 174/225: Tweak Makefile, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles a1a62d2b56 175/225: Fix failing CI by using latest evil-tests.el, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 1fd103dc13 177/225: evil-goggles--show-p: allow the "whitespace-only" check to be skipped, ELPA Syncer, 2022/01/12
- [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 <=
- [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, 2022/01/12
- [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