Function: log-edit-set-common-indentation
log-edit-set-common-indentation is a byte-compiled function defined in
log-edit.el.gz.
Signature
(log-edit-set-common-indentation)
Documentation
(Un)Indent the current buffer rigidly to log-edit-common-indent.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/log-edit.el.gz
(defun log-edit-set-common-indentation ()
"(Un)Indent the current buffer rigidly to `log-edit-common-indent'."
(save-excursion
(let ((common (point-max)))
(rfc822-goto-eoh)
(while (< (point) (point-max))
(if (not (looking-at "^[ \t]*$"))
(setq common (min common (current-indentation))))
(forward-line 1))
(rfc822-goto-eoh)
(indent-rigidly (point) (point-max)
(- log-edit-common-indent common)))))