Function: cal-tex-comment

cal-tex-comment is a byte-compiled function defined in cal-tex.el.gz.

Signature

(cal-tex-comment &optional COMMENT)

Documentation

Insert "% ", followed by optional string COMMENT, followed by newline.

COMMENT may contain newlines, which are prefixed by "% " in the output.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/cal-tex.el.gz
(defun cal-tex-comment (&optional comment)
  "Insert \"% \", followed by optional string COMMENT, followed by newline.
COMMENT may contain newlines, which are prefixed by \"% \" in the output."
  (insert (format "%% %s\n"
                  (if comment
                      (string-replace "\n" "\n% " comment)
                    ""))))