diff --git a/doc/misc/sieve.texi b/doc/misc/sieve.texi index 5d4b3b369d7..deadc991173 100644 --- a/doc/misc/sieve.texi +++ b/doc/misc/sieve.texi @@ -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 diff --git a/etc/NEWS b/etc/NEWS index 9b2558d14d7..419c9bd8d20 100644 --- a/etc/NEWS +++ b/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 +++ diff --git a/lisp/net/sieve.el b/lisp/net/sieve.el index 6bb17000919..9511bc30b0d 100644 --- a/lisp/net/sieve.el +++ b/lisp/net/sieve.el @@ -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)