summaryrefslogtreecommitdiff
path: root/lisp/faces.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-05-24 00:53:21 -0700
committerGlenn Morris <rgm@gnu.org>2012-05-24 00:53:21 -0700
commitf18b81e6d670ea83e3ccb7c7b6aff50933120018 (patch)
treeecb014a9aa434b7bfb9eaa36479c5860d5f6dff0 /lisp/faces.el
parentee2f89a66507839a1234a1ff5b96b20776fcd5ef (diff)
downloademacs-f18b81e6d670ea83e3ccb7c7b6aff50933120018.tar.gz
* lisp/paths.el (term-file-prefix): Move to lisp/faces.el (the only user).
* faces.el (term-file-prefix): Move here, make it a defcustom.
Diffstat (limited to 'lisp/faces.el')
-rw-r--r--lisp/faces.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index b3b0fa9b7d2..d96f3af0ac0 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -28,6 +28,16 @@
(eval-when-compile
(require 'cl))
+(defcustom term-file-prefix (purecopy "term/")
+ "If non-nil, Emacs startup performs terminal-specific initialization.
+It does this by: (load (concat term-file-prefix (getenv \"TERM\")))
+
+You may set this variable to nil in your init file if you do not wish
+the terminal-initialization file to be loaded."
+ :type '(choice (const :tag "No terminal-specific initialization" nil)
+ (string :tag "Name of directory with term files"))
+ :group 'terminals)
+
(declare-function xw-defined-colors "term/common-win" (&optional frame))
(defvar help-xref-stack-item)