summaryrefslogtreecommitdiff
path: root/modes/diff-mode
diff options
context:
space:
mode:
authorJames Nguyen <james@jojojames.com>2026-04-22 23:30:25 -0400
committerJames Nguyen <james@jojojames.com>2026-04-22 23:30:25 -0400
commit538e0b067cab23e870be59331cdbb5077d405239 (patch)
tree6d712c2f38ae5d73ebd42071b43f91bade1be4ba /modes/diff-mode
parent12a4f9797a92df48fd4e009d91915372af7437e2 (diff)
Move to 1 want-g variable
Diffstat (limited to 'modes/diff-mode')
-rw-r--r--modes/diff-mode/evil-collection-diff-mode.el10
1 files changed, 3 insertions, 7 deletions
diff --git a/modes/diff-mode/evil-collection-diff-mode.el b/modes/diff-mode/evil-collection-diff-mode.el
index e8d7302..1015705 100644
--- a/modes/diff-mode/evil-collection-diff-mode.el
+++ b/modes/diff-mode/evil-collection-diff-mode.el
@@ -90,12 +90,8 @@ binding keys to a minor mode created by `evil-collection' instead."
:type 'boolean
:group 'evil-collection)
-(defcustom evil-collection-diff-mode-want-g-bindings t
- "Whether to bind to g prefix instead of single letter bindings.
-
-Only applies to `evil-collection-diff-mode-want-minor-mode' is t."
- :type 'boolean
- :group 'evil-collection)
+(define-obsolete-variable-alias 'evil-collection-diff-mode-want-g-bindings
+ 'evil-collection-want-g-bindings "0.0.11")
(defvar evil-collection-diff-mode-map (make-sparse-keymap))
@@ -124,7 +120,7 @@ Only applies to `evil-collection-diff-mode-want-minor-mode' is t."
"\\" 'read-only-mode
(kbd "RET") 'diff-goto-source)
- (if evil-collection-diff-mode-want-g-bindings
+ (if evil-collection-want-g-bindings
(evil-collection-define-key 'normal 'evil-collection-diff-mode-map
"gA" 'diff-add-change-log-entries-other-window
"ga" 'diff-apply-hunk