Change default location of EUDC options file

* NEWS: Document change to EUDC options file's default location.
* lisp/net/eudc-vars.el (eudc-options-file): Use
`locate-user-emacs-file' to change default options file location.
This commit is contained in:
Thomas Fitzsimmons 2015-04-27 22:26:56 -04:00
parent b09deaa5a9
commit 7d947e84f3
2 changed files with 7 additions and 2 deletions

View file

@ -633,6 +633,9 @@ to avoid interfering with the kill ring.
*** Custom variable `eudc-inline-expansion-format' defaults to
"Firstname Surname <mail-address>".
*** Custom variable `eudc-options-file' defaults to
"~/.emacs.d/eudc-options".
*** New custom variable `ldap-ldapsearch-password-prompt-regexp' to
allow overriding the regular expression that recognizes the ldapsearch
command line's password prompt.

View file

@ -312,9 +312,11 @@ arguments that should be passed to the program."
:inline t
(string :tag "Argument")))))
(defcustom eudc-options-file "~/.eudc-options"
(defcustom eudc-options-file
(locate-user-emacs-file "eudc-options" ".eudc-options")
"A file where the `servers' hotlist is stored."
:type '(file :Tag "File Name:"))
:type '(file :Tag "File Name:")
:version "25.1")
(defcustom eudc-mode-hook nil
"Normal hook run on entry to EUDC mode."