summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Botero-Lowry <alex.boterolowry@gmail.com>2009-11-22 15:42:59 -0800
committerAlexander Botero-Lowry <alexbl@fortitudo.(none)>2009-11-22 15:42:59 -0800
commit82bcd1b2d09e89a01b9dea63c0c656e3c9ed5ba7 (patch)
treeea13206ea7246f9f93b6c3900e2c3fd14a593781
parent5aea0dcb61368b416b2243e7cdf3bab8d919b696 (diff)
switch to button-1, which seems to interact poorly with text-selection by mouse
-rw-r--r--notmuch.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/notmuch.el b/notmuch.el
index ef2a72a..5927737 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -512,8 +512,9 @@ which this thread was originally shown."
(let ((cite-button (insert-button cite-button-text)))
(button-put cite-button 'invisibility-spec invis-spec)
(button-put cite-button 'action 'notmuch-toggle-invisible-action)
+ (button-put cite-button 'follow-link t)
(button-put cite-button 'help-echo
- "mouse-2, RET: Show citation")
+ "mouse-1, RET: Show citation")
)
(insert "\n")
@@ -537,8 +538,9 @@ which this thread was originally shown."
(button-put sig-button 'invisibility-spec invis-spec)
(button-put sig-button 'action
'notmuch-toggle-invisible-action)
+ (button-put sig-button 'follow-link t)
(button-put sig-button 'help-echo
- "mouse-2, RET: Show signature")
+ "mouse-1, RET: Show signature")
)
(insert "\n")
(goto-char end))))))