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

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

Re: abbrevs, skeletons, and comments


From: Johan Bockgård
Subject: Re: abbrevs, skeletons, and comments
Date: Mon, 11 Jun 2007 11:20:30 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1.50 (gnu/linux)

nobrowser@gmail.com writes:

> In a module I'm writing, I'd like to bind abbrevs to code skeletons,
> similar to what is done e.g. by sml-mode.  But expanding the abbrevs
> makes no sense when the point is inside a comment (or a string
> literal).  So I'd like to conditionally stop expansion.

C-h f define-abbrev

-- 
Johan Bockgård


reply via email to

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