Function: gnus-article-edit

gnus-article-edit is an interactive and byte-compiled function defined in gnus-art.el.gz.

Signature

(gnus-article-edit &optional FORCE)

Documentation

Edit the current article.

This will have permanent effect only in mail groups. If FORCE is non-nil, allow editing of articles even in read-only groups.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-art.el.gz
(defun gnus-article-edit (&optional force)
  "Edit the current article.
This will have permanent effect only in mail groups.
If FORCE is non-nil, allow editing of articles even in read-only
groups."
  (interactive "P" gnus-article-mode gnus-summary-mode)
  (when (and (not force)
	     (gnus-group-read-only-p))
    (error "The current newsgroup does not support article editing"))
  (gnus-with-article-buffer
    (article-date-original))
  (gnus-article-edit-article
   #'ignore
   (let ((gch (or (mail-header-references gnus-current-headers) ""))
         (ro (gnus-group-read-only-p))
         (buf gnus-summary-buffer))
     (lambda (no-highlight)
       'ignore
       (gnus-summary-edit-article-done gch ro buf no-highlight)))))