[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#29923: [PATCH] Skip writing empty abbrev tables
From: |
Allen Li |
Subject: |
bug#29923: [PATCH] Skip writing empty abbrev tables |
Date: |
Wed, 26 Sep 2018 09:03:49 +0000 |
On Wed, Sep 19, 2018 at 5:59 AM Andreas Röhler
<andreas.roehler@easy-emacs.de> wrote:
>
> AFAIU
>
> add-mode-abbrev expect a respective abbrev-table existing.
>
> (add-abbrev
> (if only-global-abbrevs
> global-abbrev-table
> (or local-abbrev-table
> (error "No per-mode abbrev table")))
>
> Will this still work?
add-mode-abbrev is unaffected. Not writing empty abbrev tables is the
same as if the user doesn't have an abbrev file in the first place,
which obviously doesn't break add-mode-abbrev.
>
> Cheers,
> Andreas
>
>