summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Neidhardt <ambrevar@gmail.com>2017-12-07 10:57:39 +0100
committerPierre Neidhardt <ambrevar@gmail.com>2017-12-07 10:57:39 +0100
commitc9d16517d989da9bfda7a550498b993993ba0c96 (patch)
tree46f8cb57d73acc4818bd595d78f67d703d008271
parent176b29caaa480b98ad5bbda9794c539c567a7631 (diff)
diff-mode: Fix namespace
-rw-r--r--evil-collection-diff-mode.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/evil-collection-diff-mode.el b/evil-collection-diff-mode.el
index 29d9bc3..37ea86a 100644
--- a/evil-collection-diff-mode.el
+++ b/evil-collection-diff-mode.el
@@ -51,9 +51,9 @@
"Toggle visiting diff buffers in motion state."
(interactive)
(when (eq major-mode 'diff-mode)
- (if (memq 'evil-diff-read-only-state-switch read-only-mode-hook)
- (remove-hook 'read-only-mode-hook 'evil-diff-read-only-state-switch t)
- (add-hook 'read-only-mode-hook 'evil-diff-read-only-state-switch nil t)
+ (if (memq 'evil-collection-diff-read-only-state-switch read-only-mode-hook)
+ (remove-hook 'read-only-mode-hook 'evil-collection-diff-read-only-state-switch t)
+ (add-hook 'read-only-mode-hook 'evil-collection-diff-read-only-state-switch nil t)
(read-only-mode))))
;;; TODO: Report toggle function upstream?
@@ -121,7 +121,7 @@ current file instead."
"ge" 'diff-ediff-patch
"i" 'next-error-follow-minor-mode
- "o" 'evil-diff-toggle-restrict-view
+ "o" 'evil-collection-diff-toggle-restrict-view
"~" 'diff-reverse-direction
"s" 'diff-split-hunk
"c" 'diff-test-hunk