summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2004-09-24 08:52:29 +0000
committerJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2004-09-24 08:52:29 +0000
commit47a8343f6e39745fdd5066258b6fe1161119c69b (patch)
tree573e46e65d9753d05b03e358c7cec4cb0eecba47 /emacs
parentb0270c4cf9886dd4a933c3905781b54cfe58d1c3 (diff)
downloadocaml-47a8343f6e39745fdd5066258b6fe1161119c69b.tar.gz
indentation of comments
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6622 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'emacs')
-rw-r--r--emacs/caml.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/caml.el b/emacs/caml.el
index adde1f3eb6..7ae7bc1f59 100644
--- a/emacs/caml.el
+++ b/emacs/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)))