projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5674c2
)
emacs: allow to set RETAIN-STATE for `notmuch-show-refresh-view' interactively
author
Dmitry Kurochkin
<dmitry.kurochkin@gmail.com>
Mon, 13 Feb 2012 11:09:07 +0000
(15:09 +0400)
committer
David Bremner
<bremner@debian.org>
Wed, 15 Feb 2012 03:42:28 +0000
(23:42 -0400)
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
patch
|
blob
|
history
diff --git
a/emacs/notmuch-show.el
b/emacs/notmuch-show.el
index 43408d987e90ea1d40712ff4b9653066ce0c18c0..aa9cceedd0e5c9dbcb96e1505d54f23cf80e409e 100644
(file)
--- 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