Function: sc-fill-if-different
sc-fill-if-different is a byte-compiled function defined in
supercite.el.gz.
Signature
(sc-fill-if-different &optional PREFIX)
Documentation
Fill the region bounded by sc-fill-begin and point.
Only fill if optional PREFIX is different from sc-fill-line-prefix.
If sc-auto-fill-region-p is nil, do not fill region. If PREFIX is
not supplied, initialize fill variables. This is useful for a regi
begin frame-entry.
Source Code
;; Defined in /usr/src/emacs/lisp/mail/supercite.el.gz
;; filling
(defun sc-fill-if-different (&optional prefix)
"Fill the region bounded by `sc-fill-begin' and point.
Only fill if optional PREFIX is different from `sc-fill-line-prefix'.
If `sc-auto-fill-region-p' is nil, do not fill region. If PREFIX is
not supplied, initialize fill variables. This is useful for a regi
`begin' frame-entry."
(if (not prefix)
(setq sc-fill-line-prefix ""
sc-fill-begin (line-beginning-position))
(if (and sc-auto-fill-region-p
(not (string= prefix sc-fill-line-prefix)))
(let ((fill-prefix sc-fill-line-prefix))
(if (not (string= fill-prefix ""))
(fill-region sc-fill-begin (line-beginning-position)))
(setq sc-fill-line-prefix prefix
sc-fill-begin (line-beginning-position)))))
nil)