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

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

bug#55579: 29.0.50; Abbrevs not saved on exit anymore


From: Lars Ingebrigtsen
Subject: bug#55579: 29.0.50; Abbrevs not saved on exit anymore
Date: Mon, 23 May 2022 09:46:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Juri Linkov <juri@linkov.net> writes:

> After a recent change, 'C-x C-c' doesn't ask anymore to save abbrevs with:
>
>   Save abbrevs in ~/.emacs.d/abbrev_defs?
>
> It looks like the regression was caused by ce220524fcf.
> Before this change, save-buffers-kill-emacs unconditionally
> called save-some-buffers that also saves the abbrev table.
> But after the change, save-some-buffers that saves abbrevs
> is called only when files--buffers-needing-to-be-saved
> detects unsaved buffers.

Wow -- I had no idea that save-some-buffers also randomly saved abbrevs.

I've now separated that this out into a general mechanism that abbrev.el
now hooks into, while also fixing this `C-x C-c' bug.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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