patch par Didier le Botlan pour les commentaires
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3296 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
ee0828c9c4
commit
3d234f9659
|
@ -1422,11 +1422,15 @@ matching nodes to determine KEYWORD's final indentation.")
|
|||
((looking-at comment-start-skip)
|
||||
(current-column))
|
||||
((caml-in-comment-p)
|
||||
(let ((closing (looking-at "\\*)")))
|
||||
(let ((closing (looking-at "\\*)"))
|
||||
(comment-mark (looking-at "\\*")))
|
||||
(caml-backward-comment)
|
||||
(looking-at comment-start-skip)
|
||||
(+ (current-column)
|
||||
(if closing 0 caml-comment-indent))))
|
||||
(cond
|
||||
(closing 1)
|
||||
(comment-mark 1)
|
||||
(t caml-comment-indent)))))
|
||||
(t (let* ((leading (looking-at caml-leading-kwops-regexp))
|
||||
(assoc-val (if leading (assoc (caml-match-string 0)
|
||||
caml-leading-kwops-alist)))
|
||||
|
|
Loading…
Reference in New Issue