aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/term
diff options
context:
space:
mode:
authorGlenn Morris2011-02-16 21:13:17 -0800
committerGlenn Morris2011-02-16 21:13:17 -0800
commit53ef76c7d3cd9932d8d3be981aef3a136cc8849d (patch)
tree352f343ec9f2357fbbec8966aaf0da2ad5f77a81 /lisp/term
parentd638ac9ecc2f2fcf7c000ef0aa237826f1a1cda1 (diff)
downloademacs-53ef76c7d3cd9932d8d3be981aef3a136cc8849d.tar.gz
emacs-53ef76c7d3cd9932d8d3be981aef3a136cc8849d.zip
Convert some defvars to defcustoms.
* lisp/speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp) (speedbar-update-flag, speedbar-fetch-etags-command) (speedbar-fetch-etags-arguments): * lisp/term.el (term-buffer-maximum-size, term-input-chunk-size) (term-completion-autolist, term-completion-addsuffix) (term-completion-recexact, term-completion-fignore): * lisp/term/sup-mouse.el (sup-mouse-fast-select-window): * lisp/term/x-win.el (x-select-request-type): Convert some defvars with "*" to defcustoms.
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/sup-mouse.el7
-rw-r--r--lisp/term/x-win.el22
2 files changed, 20 insertions, 9 deletions
diff --git a/lisp/term/sup-mouse.el b/lisp/term/sup-mouse.el
index a8b78bb3e38..6d77241008c 100644
--- a/lisp/term/sup-mouse.el
+++ b/lisp/term/sup-mouse.el
@@ -30,8 +30,11 @@
30 30
31;;; User customization option: 31;;; User customization option:
32 32
33(defvar sup-mouse-fast-select-window nil 33(defcustom sup-mouse-fast-select-window nil
34 "*Non-nil for mouse hits to select new window, then execute; else just select.") 34 "Non-nil means mouse hits select new window, then execute.
35Otherwise just select."
36 :type 'boolean
37 :group 'mouse)
35 38
36(defconst mouse-left 0) 39(defconst mouse-left 0)
37(defconst mouse-center 1) 40(defconst mouse-center 1)
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index 1ec80d5c277..e3c42626a3f 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -1167,20 +1167,28 @@ pasted text.")
1167 :group 'killing 1167 :group 'killing
1168 :version "24.1") 1168 :version "24.1")
1169 1169
1170(defvar x-select-request-type nil 1170(defcustom x-select-request-type nil
1171 "*Data type request for X selection. 1171 "Data type request for X selection.
1172The value is one of the following data types, a list of them, or nil: 1172The value is one of the following data types, a list of them, or nil:
1173 `COMPOUND_TEXT', `UTF8_STRING', `STRING', `TEXT' 1173 `COMPOUND_TEXT', `UTF8_STRING', `STRING', `TEXT'
1174 1174
1175If the value is one of the above symbols, try only the specified 1175If the value is one of the above symbols, try only the specified type.
1176type.
1177 1176
1178If the value is a list of them, try each of them in the specified 1177If the value is a list of them, try each of them in the specified
1179order until succeed. 1178order until succeed.
1180 1179
1181The value nil is the same as this list: 1180The value nil is the same as the list (UTF8_STRING COMPOUND_TEXT STRING)."
1182 \(UTF8_STRING COMPOUND_TEXT STRING) 1181 :type '(choice (const :tag "Default" nil)
1183") 1182 (const COMPOUND_TEXT)
1183 (const UTF8_STRING)
1184 (const STRING)
1185 (const TEXT)
1186 (set :tag "List of values"
1187 (const COMPOUND_TEXT)
1188 (const UTF8_STRING)
1189 (const STRING)
1190 (const TEXT)))
1191 :group 'killing)
1184 1192
1185;; Get a selection value of type TYPE by calling x-get-selection with 1193;; Get a selection value of type TYPE by calling x-get-selection with
1186;; an appropriate DATA-TYPE argument decided by `x-select-request-type'. 1194;; an appropriate DATA-TYPE argument decided by `x-select-request-type'.