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

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

[elpa] externals/hyperbole e0eaa85 4/6: Make smart-magit-mode trigger ah


From: ELPA Syncer
Subject: [elpa] externals/hyperbole e0eaa85 4/6: Make smart-magit-mode trigger ahead of hbuts for consistency
Date: Wed, 21 Apr 2021 00:57:09 -0400 (EDT)

branch: externals/hyperbole
commit e0eaa85f10d1d6ae3e5d916b9e0c81ac2518a825
Author: Bob Weiner <rsw@gnu.org>
Commit: Bob Weiner <rsw@gnu.org>

    Make smart-magit-mode trigger ahead of hbuts for consistency
---
 hui-mouse.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/hui-mouse.el b/hui-mouse.el
index b476e73..10f5e50 100644
--- a/hui-mouse.el
+++ b/hui-mouse.el
@@ -169,6 +169,9 @@ Its default value is #'smart-scroll-down."
     ((derived-mode-p 'dired-mode) .
      ((smart-dired) . (smart-dired-assist)))
     ;;
+    ((string-prefix-p "magit-" (symbol-name major-mode)) .
+     ((smart-magit) . (smart-magit-assist)))
+    ;;
     ;; If on a Hyperbole button, perform action or give help.
     ((hbut:at-p) .
      ((hui:hbut-act 'hbut:current) . (hui:hbut-help 'hbut:current)))
@@ -378,9 +381,6 @@ Its default value is #'smart-scroll-down."
     ((eq major-mode 'gomoku-mode) .
      ((gomoku-human-plays) . (gomoku-human-takes-back)))
     ;;
-    ((string-prefix-p "magit-" (symbol-name major-mode)) .
-     ((smart-magit) . (smart-magit-assist)))
-    ;;
     ;; Support the OO-Browser when available.  It is a separate Emacs
     ;; package not included with Hyperbole.  Hyperbole supplies a stub
     ;; `br-in-browser' test for use here.



reply via email to

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