Bind sieve-refresh-scriptlist to 'g' in sieve-mode
* lisp/net/sieve.el (sieve-manage-mode-map): Bind `sieve-refersh-scriptlist' to 'g' to refresh buffer. (sieve-refresh-scriptlist): Highlight in docstring that the function updates the current sieve buffer. (Bug#75956) * doc/misc/sieve.texi (Managing Sieve): Document new keybinding and the existing `sieve-refresh-scriptlist` function.
This commit is contained in:
parent
c5bfaf1ae3
commit
6967587dae
3 changed files with 16 additions and 1 deletions
|
@ -213,6 +213,12 @@ Bury the Manage Sieve buffer without closing the connection.
|
|||
@findex sieve-help
|
||||
Displays help in the minibuffer.
|
||||
|
||||
@item g
|
||||
@kindex g
|
||||
@findex sieve-refresh-scriptlist
|
||||
Refresh list of scripts found on the currently opened server.
|
||||
Update contents of the current sieve buffer.
|
||||
|
||||
@item Q
|
||||
@kindex Q
|
||||
@findex sieve-manage-quit
|
||||
|
|
7
etc/NEWS
7
etc/NEWS
|
@ -545,6 +545,13 @@ When called with a prefix argument, accepting, declining, or tentatively
|
|||
accepting an icalendar event will prompt for a comment to add to the
|
||||
response.
|
||||
|
||||
** Sieve
|
||||
|
||||
+++
|
||||
*** New keybinding to refresh buffer in 'sieve-manage-mode'.
|
||||
'sieve-refresh-scriptlist' is now bound to 'g' to refresh the contents
|
||||
of the current sieve buffer.
|
||||
|
||||
** Button
|
||||
|
||||
+++
|
||||
|
|
|
@ -111,6 +111,7 @@ require \"fileinto\";
|
|||
;; various
|
||||
"?" #'sieve-help
|
||||
"h" #'sieve-help
|
||||
"g" #'sieve-refresh-scriptlist
|
||||
;; activating
|
||||
"m" #'sieve-activate
|
||||
"u" #'sieve-deactivate
|
||||
|
@ -314,7 +315,8 @@ Used to bracket operations which move point in the sieve-buffer."
|
|||
(sieve-manage-authenticate)))
|
||||
|
||||
(defun sieve-refresh-scriptlist ()
|
||||
"Refresh list of scripts found the currently opened server."
|
||||
"Refresh list of scripts found on the currently opened server.
|
||||
Update contents of the current sieve buffer."
|
||||
(interactive)
|
||||
(with-current-buffer sieve-buffer
|
||||
(setq buffer-read-only nil)
|
||||
|
|
Loading…
Add table
Reference in a new issue