mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-25 10:54:52 +01:00
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.
This commit is contained in:
parent
19e8ad6393
commit
dac01ec520
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue