Function: gnus-sieve-update

gnus-sieve-update is an autoloaded, interactive and byte-compiled function defined in gnus-sieve.el.gz.

Signature

(gnus-sieve-update)

Documentation

Update the Sieve script in gnus-sieve-file, by replacing the region between gnus-sieve-region-start and gnus-sieve-region-end with
(gnus-sieve-script gnus-sieve-select-method gnus-sieve-crosspost), then
execute gnus-sieve-update-shell-command. See the documentation for these variables and functions for details.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-sieve.el.gz
;;;###autoload
(defun gnus-sieve-update ()
  "Update the Sieve script in gnus-sieve-file, by replacing the region
between gnus-sieve-region-start and gnus-sieve-region-end with
\(gnus-sieve-script gnus-sieve-select-method gnus-sieve-crosspost), then
execute gnus-sieve-update-shell-command.
See the documentation for these variables and functions for details."
  (interactive)
  (gnus-sieve-generate)
  (save-buffer)
  (shell-command
   (format-spec gnus-sieve-update-shell-command
                `((?f . ,gnus-sieve-file)
                  (?s . ,(or (cadr (gnus-server-get-method
                                    nil gnus-sieve-select-method))
                             ""))))))