aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.el
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-12-11 15:52:40 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-12-11 15:54:53 -0800
commitdac01ec52036e0320f66211be3dc5e5126eb218f (patch)
tree251fcf4e3aca6215d827179fb7912951da5d88f6 /notmuch.el
parent19e8ad63934428c0d0f4a091ccebdcc9b0b9ffa5 (diff)
emacs: Add instructions to the hidden citations/signatures.
We've received a user report that the hidden citations were annoying since the user couldn't tell what was being referred to by subsequent text. Apparently it wasn't obvious enough that the hidden citation could be revealed by clicking or by pressing Enter. So make the button text say as much.
Diffstat (limited to 'notmuch.el')
-rw-r--r--notmuch.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/notmuch.el b/notmuch.el
index 492b5d66..97914f2c 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -613,13 +613,13 @@ which this thread was originally shown."
(let ((p (point-marker))
(cite-button-text
(concat "[" (number-to-string (count-lines beg-sub (point)))
- "-line citation.]")))
+ "-line citation. Click/Enter to show.]")))
(goto-char (- beg-sub 1))
(insert (concat "\n" indent))
(insert-button cite-button-text
'invisibility-spec invis-spec
:type 'notmuch-button-citation-toggle-type)
- (goto-char (+ (length cite-button-text) p))
+ (forward-line)
))))
(move-to-column depth)
(if (looking-at notmuch-show-signature-regexp)