2019-07-08 21:42:19 +02:00
|
|
|
;;; lang/ocaml/autoload.el -*- lexical-binding: t; -*-
|
|
|
|
|
|
|
|
;;;###autoload
|
2019-11-11 23:47:27 -05:00
|
|
|
(defun +ocaml/comment-indent-new-line (&optional _)
|
2019-07-08 21:42:19 +02:00
|
|
|
"Break line at point and indent, continuing comment if within one."
|
|
|
|
(interactive)
|
|
|
|
(comment-indent-new-line)
|
2020-02-25 20:03:33 -05:00
|
|
|
(when (and +ocaml-prefix-comments-with-asterisk (eq (char-before) ?*))
|
2019-07-08 21:42:19 +02:00
|
|
|
(just-one-space)))
|