Mercurial > emacs
comparison oldXMenu/Post.c @ 82450:be32023b5c7b
(meta-indent-calculate-last): Remove.
(meta-indent-current-nesting): Use a computation of the nesting instead.
(meta-indent-current-indentation): Indentation is given according to
nesting and if the previous line was finished or not.
(meta-indent-unfinished-line): Tell if the current line ends with a
finished expression.
(meta-indent-looking-at-code): Like `looking-at', but checks if the
point is a string before.
(meta-indent-level-count): Use it. Don't count parenthesis as it's
done in the nesting function.
(meta-indent-in-string-p): Tell if the current point is in a string.
(meta-indent-calculate): Treat b-o-b as a special case. Use the
previous functions.
author | Michaël Cadilhac <michael.cadilhac@lrde.org> |
---|---|
date | Fri, 17 Aug 2007 22:51:12 +0000 |
parents | fec5e03aaf59 |
children | edf631bdbb7a ec58e5c426ef 5cc91198ffb2 |
comparison
equal
deleted
inserted
replaced
82449:786b4b5a733e | 82450:be32023b5c7b |
---|