Function: gnus-execute-command
gnus-execute-command is a byte-compiled function defined in
gnus-sum.el.gz.
Signature
(gnus-execute-command COMMAND &optional AUTOMATIC)
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-sum.el.gz
(defun gnus-execute-command (command &optional automatic)
(save-excursion
(gnus-article-setup-buffer)
(set-buffer gnus-article-buffer)
(setq buffer-read-only nil)
(let ((command (if automatic command
(read-string "Command: " (cons command 0)))))
(erase-buffer)
(insert "$ " command "\n\n")
(if gnus-view-pseudo-asynchronously
(start-process "gnus-execute" (current-buffer) shell-file-name
shell-command-switch command)
(call-process shell-file-name nil t nil
shell-command-switch command)))))