[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Use .emacs.d in savehist.el
From: |
Hrvoje Niksic |
Subject: |
Re: Use .emacs.d in savehist.el |
Date: |
Tue, 25 Oct 2005 11:30:08 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> Any objection to the patch below?
Ideally I was aiming to have both emacsen share their minibuffer
histories, but I'm not sure if that's realistic. I suppose the patch
is OK, except you might want to use ~/.xemacs under XEmacs. Something
like:
(defcustom savehist-file
(cond
;; Backward compatibility with previous versions of savehist.
((file-exists-p "~/.emacs-history") "~/.emacs-history")
((and (not (featurep 'xemacs)) (file-directory-p "~/.emacs.d/"))
"~/.emacs.d/history")
((and (featurep 'xemacs) (file-directory-p "~/.xemacs/"))
"~/.xemacs/history")
;; For users without .emacs.d.
(t "~/.emacs-history"))
"File name to save minibuffer history to.
The minibuffer history is a series of Lisp expressions, which should be
loaded using `savehist-load' from your .emacs. See `savehist-load' for
more details."
:type 'file
:group 'savehist)
- Re: Use .emacs.d in savehist.el, (continued)
- Re: Use .emacs.d in savehist.el, Richard M. Stallman, 2005/10/29
- Re: Use .emacs.d in savehist.el, Chong Yidong, 2005/10/30
- Re: Use .emacs.d in savehist.el, Miles Bader, 2005/10/30
- Re: Use .emacs.d in savehist.el, Chong Yidong, 2005/10/30
- Re: Use .emacs.d in savehist.el, Richard M. Stallman, 2005/10/30
- Re: Use .emacs.d in savehist.el, Chong Yidong, 2005/10/30
- Re: Use .emacs.d in savehist.el, Richard M. Stallman, 2005/10/31
- Re: Use .emacs.d in savehist.el, Chong Yidong, 2005/10/31
- Re: Use .emacs.d in savehist.el, Kim F. Storm, 2005/10/27
- Re: Use .emacs.d in savehist.el, Chong Yidong, 2005/10/30
Re: Use .emacs.d in savehist.el,
Hrvoje Niksic <=
Re: Use .emacs.d in savehist.el, Richard M. Stallman, 2005/10/25