intelligent indentation of parenthesis
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2355 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
2666725262
commit
7c7451976b
|
@ -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)))
|
||||
|
|
Loading…
Reference in New Issue