aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2005-12-19 08:28:55 +0000
committerYAMAMOTO Mitsuharu2005-12-19 08:28:55 +0000
commit814b36fe093cf5d3c2a348822db57b9ba7cb0764 (patch)
treeb5870534c5e9998bfcd8207d01c49655b8b03f2b
parentaed903f75ffea526026bdcb2ded0d4726ddadde9 (diff)
downloademacs-814b36fe093cf5d3c2a348822db57b9ba7cb0764.tar.gz
emacs-814b36fe093cf5d3c2a348822db57b9ba7cb0764.zip
(all): Add user options in macterm.c. Add test for
Mac-related built-ins. Fix test for GTK-related built-ins.
-rw-r--r--lisp/cus-start.el30
1 files changed, 30 insertions, 0 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index 9881012d949..a7f135786b2 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -194,6 +194,33 @@ Leaving \"Default\" unchecked is equivalent with specifying a default of
194 (suggest-key-bindings keyboard (choice (const :tag "off" nil) 194 (suggest-key-bindings keyboard (choice (const :tag "off" nil)
195 (integer :tag "time" 2) 195 (integer :tag "time" 2)
196 (other :tag "on"))) 196 (other :tag "on")))
197 ;; macterm.c
198 (mac-control-modifier mac (choice (const :tag "No modifier" nil)
199 (const control) (const meta)
200 (const alt) (const hyper)
201 (const super)) "22.1")
202 (mac-command-modifier mac (choice (const :tag "No modifier" nil)
203 (const control) (const meta)
204 (const alt) (const hyper)
205 (const super)) "22.1")
206 (mac-option-modifier mac (choice (const :tag "No modifier (work as option)" nil)
207 (const control) (const meta)
208 (const alt) (const hyper)
209 (const super)) "22.1")
210 (mac-function-modifier mac
211 (choice (const :tag "No modifier (work as function)" nil)
212 (const control) (const meta)
213 (const alt) (const hyper)
214 (const super)) "22.1")
215 (mac-emulate-three-button-mouse mac
216 (choice (const :tag "No emulation" nil)
217 (const :tag "Option->2, Command->3" t)
218 (const :tag "Command->2, Option->3" reverse))
219 "22.1")
220 (mac-wheel-button-is-mouse-2 mac boolean "22.1")
221 (mac-pass-command-to-system mac boolean "22.1")
222 (mac-pass-control-to-system mac boolean "22.1")
223 (mac-allow-anti-aliasing mac boolean "22.1")
197 224
198;; This is not good news because it will use the wrong 225;; This is not good news because it will use the wrong
199;; version-specific directories when you upgrade. We need 226;; version-specific directories when you upgrade. We need
@@ -366,10 +393,13 @@ since it could result in memory overflow and make Emacs crash."
366 (eq system-type 'ms-dos)) 393 (eq system-type 'ms-dos))
367 ((string-match "\\`w32-" (symbol-name symbol)) 394 ((string-match "\\`w32-" (symbol-name symbol))
368 (eq system-type 'windows-nt)) 395 (eq system-type 'windows-nt))
396 ((string-match "\\`mac-" (symbol-name symbol))
397 (eq window-system 'mac))
369 ((string-match "\\`x-.*gtk" (symbol-name symbol)) 398 ((string-match "\\`x-.*gtk" (symbol-name symbol))
370 (or (boundp 'gtk) 399 (or (boundp 'gtk)
371 (and window-system 400 (and window-system
372 (not (eq window-system 'pc)) 401 (not (eq window-system 'pc))
402 (not (eq window-system 'mac))
373 (not (eq system-type 'windows-nt))))) 403 (not (eq system-type 'windows-nt)))))
374 ((string-match "\\`x-" (symbol-name symbol)) 404 ((string-match "\\`x-" (symbol-name symbol))
375 (fboundp 'x-create-frame)) 405 (fboundp 'x-create-frame))