Do not indent at the beginning of buffer

This commit is contained in:
Fabián Ezequiel Gallina 2012-05-17 00:02:55 -03:00 committed by Fabián Ezequiel Gallina
parent df700cc99e
commit 69bab1deb3

View file

@ -452,6 +452,9 @@ START is the buffer position where the sexp starts."
(start))
(cons
(cond
;; Beginning of buffer
((bobp)
'no-indent)
;; Inside a paren
((setq start (nth 1 ppss))
'inside-paren)