[Top][All Lists]

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

Re: Saving minibuffer history

From: Hrvoje Niksic
Subject: Re: Saving minibuffer history
Date: 20 Oct 2005 11:09:51 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Stefan Monnier <address@hidden> writes:

> >> minibuffer-history-variable has a default value used for when no
> >> histvar is specified, indeed, but it is also set by
> >> read-from-minibuffer to the history variable that should be used.
> >> So by recording its value in minibuffer-setup-hook I accumulate
> >> all the histvars that have been seen.
> > What about those that haven't been seen yet?  Won't they be saved as
> > nil by savehist-save?
> I don't think so: they won't be saved at all.  Notice also that the
> variable savehist-all-history-variables is also saved along with the
> actual history variables.

I now understand and I think it's a good change.  It basically saves
*all* minibuffer histories, which is exactly the effect I wanted to
achieve back when I wrote the file.  Thanks for improving it.

reply via email to

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