Function: comment-indent-default
comment-indent-default is a byte-compiled function defined in
newcomment.el.gz.
Signature
(comment-indent-default)
Documentation
Default for comment-indent-function.
Source Code
;; Defined in /usr/src/emacs/lisp/newcomment.el.gz
;;;;
;;;; Commands
;;;;
;;;###autoload
(defun comment-indent-default ()
"Default for `comment-indent-function'."
(if (and (looking-at "\\s<\\s<\\(\\s<\\)?")
(or (match-end 1) (/= (current-column) (current-indentation))))
0
(when (or (/= (current-column) (current-indentation))
(and (> comment-add 0) (looking-at "\\s<\\(\\S<\\|\\'\\)")))
comment-column)))