Mercurial > emacs
comparison lisp/savehist.el @ 98866:a2b77994ca7e
(savehist-file): Run file names that begin with a period thru
`convert-standard-filename'.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sun, 19 Oct 2008 10:12:01 +0000 |
parents | fb7bd9d40237 |
children | 814d2d823dd7 |
comparison
equal
deleted
inserted
replaced
98865:d90313a345e7 | 98866:a2b77994ca7e |
---|---|
102 ((and (not (featurep 'xemacs)) (file-directory-p user-emacs-directory)) | 102 ((and (not (featurep 'xemacs)) (file-directory-p user-emacs-directory)) |
103 (concat user-emacs-directory "history")) | 103 (concat user-emacs-directory "history")) |
104 ((and (featurep 'xemacs) (file-directory-p "~/.xemacs/")) | 104 ((and (featurep 'xemacs) (file-directory-p "~/.xemacs/")) |
105 "~/.xemacs/history") | 105 "~/.xemacs/history") |
106 ;; For users without `~/.emacs.d/' or `~/.xemacs/'. | 106 ;; For users without `~/.emacs.d/' or `~/.xemacs/'. |
107 (t "~/.emacs-history")) | 107 (t (convert-standard-filename "~/.emacs-history"))) |
108 "*File name where minibuffer history is saved to and loaded from. | 108 "*File name where minibuffer history is saved to and loaded from. |
109 The minibuffer history is a series of Lisp expressions loaded | 109 The minibuffer history is a series of Lisp expressions loaded |
110 automatically when `savehist-mode' is turned on. See `savehist-mode' | 110 automatically when `savehist-mode' is turned on. See `savehist-mode' |
111 for more details. | 111 for more details. |
112 | 112 |