aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy1991-07-11 22:55:55 +0000
committerJim Blandy1991-07-11 22:55:55 +0000
commit8769d6482a05a1ef4bf6038dad42351f556947bf (patch)
treea2d1e6a1f1a1833cb0dd618cfae7b5c46ebf8a8f
parent19a1d682fac67199d740698942af8031665a9f0f (diff)
downloademacs-8769d6482a05a1ef4bf6038dad42351f556947bf.tar.gz
emacs-8769d6482a05a1ef4bf6038dad42351f556947bf.zip
*** empty log message ***
-rw-r--r--lisp/term/x-win.el18
1 files changed, 8 insertions, 10 deletions
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index 833ccf15800..abf794f1ad0 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -167,15 +167,13 @@
167 167
168(defvar x-invocation-args nil) 168(defvar x-invocation-args nil)
169 169
170(defun x-handle-args () 170(defun x-handle-args (args)
171 "Here the X-related command line options are processed, before the user's 171 "Here the X-related command line options in ARGS are processed,
172startup file is loaded. These are present in ARGS (see startup.el). 172before the user's startup file is loaded. They are copied to
173They are copied to x-invocation args from which the X-related things 173x-invocation args from which the X-related things are extracted, first
174are extracted, first the switch (e.g., \"-fg\") in the following code, 174the switch (e.g., \"-fg\") in the following code, and possible values
175and possible values (e.g., \"black\") in the option handler code (e.g., 175(e.g., \"black\") in the option handler code (e.g., x-handle-switch).
176x-handle-switch). 176This returns ARGS with the arguments that have been processed removed."
177When finished, only things not pertaining to X (e.g., \"-q\", filenames)
178are left in ARGS."
179 (setq x-invocation-args args 177 (setq x-invocation-args args
180 args nil) 178 args nil)
181 (while x-invocation-args 179 (while x-invocation-args
@@ -633,7 +631,7 @@ are left in ARGS."
633(x-open-connection (or x-display-name 631(x-open-connection (or x-display-name
634 (setq x-display-name (getenv "DISPLAY")))) 632 (setq x-display-name (getenv "DISPLAY"))))
635(x-read-resources) 633(x-read-resources)
636(x-handle-args) 634(setq command-line-args (x-handle-args command-line-args))
637(x-pop-initial-window) 635(x-pop-initial-window)
638 636
639(setq suspend-hook 637(setq suspend-hook