help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: define-skeleton and define-abbrev simple example mystery, `w' -> `wx


From: Stefan Monnier
Subject: Re: define-skeleton and define-abbrev simple example mystery, `w' -> `wxT("")' newline-and-indents? Why?
Date: Tue, 17 Jul 2007 02:26:27 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

> and I fail to understand why. It seems to do a newline-and-indent
> without any > or any \n in the skeleton.

IIRC it's a misfeature of the default value of skeleton-end-hook.
I haven't dared to remove it because it may break older skeletons that want
the final \n but don't have it explicitly in their definition.
Just set skeleton-end-hook by hand in your major mode.


        Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]