diff options
| author | Chong Yidong | 2007-06-13 00:05:47 +0000 |
|---|---|---|
| committer | Chong Yidong | 2007-06-13 00:05:47 +0000 |
| commit | e3af1e5d00b695917837b5ed4a7a07ba8160dbdf (patch) | |
| tree | 30702837803060365adf06b210ec1ad135bb24b3 /lisp | |
| parent | 23afd1c8b6811891bccc193813f9bc65855adba0 (diff) | |
| download | emacs-e3af1e5d00b695917837b5ed4a7a07ba8160dbdf.tar.gz emacs-e3af1e5d00b695917837b5ed4a7a07ba8160dbdf.zip | |
(savehist-file): Use user-emacs-directory.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/savehist.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/savehist.el b/lisp/savehist.el index 9555bce9bd4..9343fc2ccb1 100644 --- a/lisp/savehist.el +++ b/lisp/savehist.el | |||
| @@ -101,8 +101,8 @@ minibuffer histories, such as `compile-command' or `kill-ring'." | |||
| 101 | (cond | 101 | (cond |
| 102 | ;; Backward compatibility with previous versions of savehist. | 102 | ;; Backward compatibility with previous versions of savehist. |
| 103 | ((file-exists-p "~/.emacs-history") "~/.emacs-history") | 103 | ((file-exists-p "~/.emacs-history") "~/.emacs-history") |
| 104 | ((and (not (featurep 'xemacs)) (file-directory-p "~/.emacs.d/")) | 104 | ((and (not (featurep 'xemacs)) (file-directory-p user-emacs-directory)) |
| 105 | "~/.emacs.d/history") | 105 | (concat user-emacs-directory "history")) |
| 106 | ((and (featurep 'xemacs) (file-directory-p "~/.xemacs/")) | 106 | ((and (featurep 'xemacs) (file-directory-p "~/.xemacs/")) |
| 107 | "~/.xemacs/history") | 107 | "~/.xemacs/history") |
| 108 | ;; For users without `~/.emacs.d/' or `~/.xemacs/'. | 108 | ;; For users without `~/.emacs.d/' or `~/.xemacs/'. |