emacs-devel
[Top][All Lists]
Advanced

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

Re: abbrev table in cperl-mode


From: Stefan Monnier
Subject: Re: abbrev table in cperl-mode
Date: Sat, 17 Apr 2010 10:42:09 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>> The attached patch does this. BTW, defining system abbrevs doesn't
>> change abbrev-changed so I leave the (let ...) out.

> The docs for my version say

>     define-abbrev-table: a built-in function.

>     Define TABLENAME (a symbol) as an abbrev table name.
>     Define abbrevs in it according to DEFINITIONS, which is a list of
>     elements
>     of the form (ABBREVNAME EXPANSION HOOK USECOUNT).

>     (define-abbrev-table TABLENAME DEFINITIONS)

> So, as minimum, it is not backward-compatible.

Actually, AFAIK it is backward compatible in that older versions just
ignore the tail of the list rather than checking that it's nil.
So older versions will just ignore the additional t.


        Stefan





reply via email to

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