branch: externals/caml
commit 92e4789af443ee2440a92b7af1614beb34c58a2f
Author: Jacques Garrigue <garrigue at math.nagoya-u.ac.jp>
Commit: Jacques Garrigue <garrigue at math.nagoya-u.ac.jp>

    indentation of comments
    
    
    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6622 
f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
---
 caml.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/caml.el b/caml.el
index adde1f3..7ae7bc1 100644
--- a/caml.el
+++ b/caml.el
@@ -1598,7 +1598,7 @@ matching nodes to determine KEYWORD's final indentation.")
            (cond
             (closing 1)
             (comment-mark 1)
-            (t caml-comment-indent)))))
+            (t (- (match-end 0) (match-beginning 0)))))))
      (t (let* ((leading (looking-at caml-leading-kwops-regexp))
                (assoc-val (if leading (assoc (caml-match-string 0)
                                              caml-leading-kwops-alist)))

Reply via email to