diff options
author | Albert Krewinkel <tarleb@moltkeplatz.de> | 2013-06-14 09:48:49 +0000 |
---|---|---|
committer | Katsumi Yamaoka <yamaoka@jpl.org> | 2013-06-14 09:48:49 +0000 |
commit | 745b097bf7ba05c67a61ae2242656dc6443d8c33 (patch) | |
tree | ab2e0abf97028794c5b568a68863403be1758133 /lisp/gnus/sieve.el | |
parent | d4466a91f271db0b414a605ede1a7befd403b950 (diff) | |
download | emacs-745b097bf7ba05c67a61ae2242656dc6443d8c33.tar.gz |
lisp/gnus/sieve.el: Rebind q to (sieve-bury-buffer), bind Q to (sieve-manage-quit)
doc/misc/sieve.texi: (Managing Sieve): Fix port in example, fix documentation for keys q and Q
(Standards): Reference RFC5804 as the defining document of the managesieve protocol
Diffstat (limited to 'lisp/gnus/sieve.el')
-rw-r--r-- | lisp/gnus/sieve.el | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lisp/gnus/sieve.el b/lisp/gnus/sieve.el index 2c11c039d56..b3539c5857f 100644 --- a/lisp/gnus/sieve.el +++ b/lisp/gnus/sieve.el @@ -125,7 +125,8 @@ require \"fileinto\"; (define-key map "f" 'sieve-edit-script) (define-key map "o" 'sieve-edit-script-other-window) (define-key map "r" 'sieve-remove) - (define-key map "q" 'sieve-manage-quit) + (define-key map "q" 'sieve-bury-buffer) + (define-key map "Q" 'sieve-manage-quit) (define-key map [(down-mouse-2)] 'sieve-edit-script) (define-key map [(down-mouse-3)] 'sieve-manage-mode-menu) map) @@ -149,12 +150,17 @@ require \"fileinto\"; ;; Commands used in sieve-manage mode: (defun sieve-manage-quit () - "Quit." + "Quit Manage Sieve and close the connection." (interactive) (sieve-manage-close sieve-manage-buffer) (kill-buffer sieve-manage-buffer) (kill-buffer (current-buffer))) +(defun sieve-bury-buffer () + "Bury the Manage Sieve buffer without closing the connection." + (interactive) + (bury-buffer)) + (defun sieve-activate (&optional pos) (interactive "d") (let ((name (sieve-script-at-point)) err) |