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

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

Re: savehist -- save minibuffer history between Emacs invocations


From: Hrvoje Niksic
Subject: Re: savehist -- save minibuffer history between Emacs invocations
Date: Mon, 31 Oct 2005 11:31:06 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Simon Josefsson <address@hidden> writes:

> Hrvoje Niksic <address@hidden> writes:
>
>> ;;; savehist.el --- Save minibuffer history.
>
> Nice, thanks!  I miss the feature to load this automatically from
> customize.  How about using `define-minor-mode'?

define-minor-mode doesn't work under XEmacs.  And from the available
documentation I understand define-minor-mode to be pretty much
equivalent to the combination of `add-minor-mode' and the code I've
written.

Also note that an updated version of the package is already available
at the URL mentioned in the file.

> Then I could simply customize the savehist-mode variable, and the
> mode would load and enable itself automatically.

If you know how to correctly achieve that with `defcustom', by all
means let me know.


reply via email to

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