Function: log-edit-remember-comment

log-edit-remember-comment is a byte-compiled function defined in log-edit.el.gz.

Signature

(log-edit-remember-comment &optional COMMENT)

Source Code

;; Defined in /usr/src/emacs/lisp/vc/log-edit.el.gz
(defun log-edit-remember-comment (&optional comment)
  (unless comment (setq comment (buffer-string)))
  (when (or (ring-empty-p log-edit-comment-ring)
            (not (equal comment (ring-ref log-edit-comment-ring 0))))
    (ring-insert log-edit-comment-ring comment)))