aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Dmitry Kurochkin <dmitry.kurochkin@gmail.com>2012-02-13 15:09:07 +0400
committerGravatar David Bremner <bremner@debian.org>2012-02-14 23:42:28 -0400
commitd8bff4b3af412cd56283e6e2cda256b79d2fd40b (patch)
tree12963857d90a3097b3d173f30568b859636b3220 /emacs
parenta5674c21584a32a4f8a8a3e9ea3c3576f772e744 (diff)
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 =".
Diffstat (limited to 'emacs')
-rw-r--r--emacs/notmuch-show.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index 43408d98..aa9cceed 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