intelligent indentation of parenthesis

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2355 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Jacques Garrigue 1999-03-30 06:07:26 +00:00
parent 2666725262
commit 7c7451976b
1 changed files with 2 additions and 0 deletions

View File

@ -1375,6 +1375,8 @@ Does not preserve point."
(indent-diff
(cond
((not kwop-info) (beginning-of-line 1) 0)
((looking-at "[[({][|<]?[ \t]*")
(length (caml-match-string 0)))
((nth 1 kwop-info) (symbol-value (nth 3 kwop-info)))
(t
(let ((pos (point)))