Function: sgml-comment-indent-new-line

sgml-comment-indent-new-line is a byte-compiled function defined in sgml-mode.el.gz.

Signature

(sgml-comment-indent-new-line &optional SOFT)

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/sgml-mode.el.gz
(with-no-warnings (defvar v2))				; free for skeleton

(defun sgml-comment-indent-new-line (&optional soft)
  (if (ppss-comment-depth (syntax-ppss))
      (let ((comment-start "-- ")
	    (comment-start-skip "\\(<!\\)?--[ \t]*")
	    (comment-end " --")
	    (comment-style 'plain))
        (comment-indent-new-line soft))
    (comment-indent-new-line soft)))