[PATCH] emacs: allow to set RETAIN-STATE for `notmuch-show-refresh-view' interactively
Dmitry Kurochkin
dmitry.kurochkin at gmail.com
Mon Feb 13 03:09:07 PST 2012
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 =".
---
emacs/notmuch-show.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index 43408d9..aa9ccee 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -1124,7 +1124,7 @@ This includes:
Refreshes the current view, observing changes in display
preferences. If RETAIN-STATE is non-nil then the state of the
buffer is stored and re-applied after the refresh."
- (interactive)
+ (interactive "P")
(let ((inhibit-read-only t)
state)
(if retain-state
--
1.7.9
More information about the notmuch
mailing list