mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
emacs: allow to set RETAIN-STATE for `notmuch-show-refresh-view' interactively
The notmuch-show view refresh function (`notmuch-show-refresh-view', bound to "=") accepts an optional RETAIN-STATE argument. The patch allows to set this argument interactively by using "C-u =".
This commit is contained in:
parent
a5674c2158
commit
d8bff4b3af
1 changed files with 1 additions and 1 deletions
|
@ -1124,7 +1124,7 @@ This includes:
|
||||||
Refreshes the current view, observing changes in display
|
Refreshes the current view, observing changes in display
|
||||||
preferences. If RETAIN-STATE is non-nil then the state of the
|
preferences. If RETAIN-STATE is non-nil then the state of the
|
||||||
buffer is stored and re-applied after the refresh."
|
buffer is stored and re-applied after the refresh."
|
||||||
(interactive)
|
(interactive "P")
|
||||||
(let ((inhibit-read-only t)
|
(let ((inhibit-read-only t)
|
||||||
state)
|
state)
|
||||||
(if retain-state
|
(if retain-state
|
||||||
|
|
Loading…
Reference in a new issue