summaryrefslogtreecommitdiff
path: root/lisp/abbrev.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/abbrev.el')
-rw-r--r--lisp/abbrev.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/abbrev.el b/lisp/abbrev.el
index 4a2c57ddd60..6441381d171 100644
--- a/lisp/abbrev.el
+++ b/lisp/abbrev.el
@@ -27,7 +27,6 @@
;; Todo:
-;; - Make abbrev-file-name obey user-emacs-directory.
;; - Cleanup name space.
;;; Code:
@@ -39,6 +38,11 @@
:link '(custom-manual "(emacs)Abbrevs")
:group 'abbrev)
+(defcustom abbrev-file-name
+ (locate-user-emacs-file "abbrev_defs" ".abbrev_defs")
+ "Default name of file to read abbrevs from."
+ :type 'file)
+
(defcustom only-global-abbrevs nil
"Non-nil means user plans to use global abbrevs only.
This makes the commands that normally define mode-specific abbrevs