Stefan Monnier <[EMAIL PROTECTED]> 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.


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to