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

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

bug#31348: 26.1; savehist-save errors if savehist-file directory missing


From: Lars Ingebrigtsen
Subject: bug#31348: 26.1; savehist-save errors if savehist-file directory missing
Date: Sat, 13 Jul 2019 17:13:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Allen Li <address@hidden> writes:

> savehist-save does not create output directory for savehist-file, e.g.:
>
> savehist-save: Opening output file: no such file or directory,
> /home/bob/some/new/cache/dir/history
>
> This is in contrast with other examples, such as
> filesets-menu-cache-file, which offers to create the directory if it
> does not exist.
>
> This is annoying because the error stops C-x C-c from being able to
> exit Emacs.

I've now changed this on the Emacs trunk so that it just creates the
directory (without prompting) before saving.

-- 
(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]