Mercurial > emacs
comparison src/emacs.c @ 12886:4029ded28f9d
(skeleton-newline-indent-rigidly): New variable.
(skeleton-internal-1): Use it for indenting after \n because previous
behaviour was only useful for `sh-script.el' and old `ada.el'. Other
modes now get their own indentation.
(skeleton, skeleton-modified, skeleton-point, skeleton-regions): `New'
variables for passing between the mutually recursive functions of
the skeleton engine. Introduced to remove compiler warnings.
(skeleton-proxy): New argument `str' to make this settable when calling
a skeleton as a function.
(skeleton-insert): New argument `str' to pass down. Element `\n'
now usually indents according to mode. Subskeletons may also have
a list of strings as iterator. Earlier modification also removed
meaning of `quit' -- I did not put it back in since it's useless.
When quitting out of a subskeleton while still wrapping around text
don't duplicate first line of that text.
(skeleton-end-hook): New hook useful say for modes that leave a `;' on
an empty line to indent right and then want to clean it up when doing
a skeleton there.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Sat, 19 Aug 1995 00:30:38 +0000 |
parents | c67a46e4fcef |
children | ec9ae189a275 |
comparison
equal
deleted
inserted
replaced
12885:5c1941d38daa | 12886:4029ded28f9d |
---|