Function: sc-cite-region

sc-cite-region is an interactive and byte-compiled function defined in supercite.el.gz.

Signature

(sc-cite-region START END &optional CONFIRM-P INTERACTIVE)

Documentation

Cite a region delineated by START and END.

If optional CONFIRM-P is non-nil, the attribution is confirmed before its use in the citation string. This function first runs sc-pre-cite-hook.

When called interactively, the optional arg INTERACTIVE is non-nil, and that means call sc-select-attribution too.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/mail/supercite.el.gz
;; interactive functions
(defun sc-cite-region (start end &optional confirm-p interactive)
  "Cite a region delineated by START and END.
If optional CONFIRM-P is non-nil, the attribution is confirmed before
its use in the citation string.  This function first runs
`sc-pre-cite-hook'.

When called interactively, the optional arg INTERACTIVE is non-nil,
and that means call `sc-select-attribution' too."
  (interactive "r\nP\np")
  (undo-boundary)
  (let ((frame (sc-scan-info-alist sc-cite-frame-alist))
	(sc-confirm-always-p (if confirm-p t sc-confirm-always-p)))
    (if (and frame (symbolp frame))
	(setq frame (symbol-value frame)))
    (or frame (setq frame sc-default-cite-frame))
    (run-hooks 'sc-pre-cite-hook)
    (if interactive
	(sc-select-attribution))
    (regi-interpret frame start end)))