aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy1991-08-11 01:03:47 +0000
committerJim Blandy1991-08-11 01:03:47 +0000
commit708c60f8afefdaa6990da69abb79c535dd79edeb (patch)
tree220622b3b9dc31b07dcd4fb03efbf5d55c784076
parentec838c39240761f3f283e89195ae39c402f3e89d (diff)
downloademacs-708c60f8afefdaa6990da69abb79c535dd79edeb.tar.gz
emacs-708c60f8afefdaa6990da69abb79c535dd79edeb.zip
*** empty log message ***
-rw-r--r--lisp/term/x-win.el12
1 files changed, 2 insertions, 10 deletions
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index 99b99c4ef1b..4f388247073 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -71,8 +71,7 @@
71(require 'screen) 71(require 'screen)
72 72
73(setq command-switch-alist 73(setq command-switch-alist
74 (append '(("-dm" . x-establish-daemon-mode) 74 (append '(("-bw" . x-handle-numeric-switch)
75 ("-bw" . x-handle-numeric-switch)
76 ("-d" . x-handle-display) 75 ("-d" . x-handle-display)
77 ("-display" . x-handle-display) 76 ("-display" . x-handle-display)
78 ("-name" . x-handle-switch) 77 ("-name" . x-handle-switch)
@@ -151,13 +150,6 @@
151 (x-geometry (car x-invocation-args))) 150 (x-geometry (car x-invocation-args)))
152 x-invocation-args (cdr x-invocation-args))) 151 x-invocation-args (cdr x-invocation-args)))
153 152
154;; The daemon stuff isn't really useful at the moment.
155(defvar x-daemon-mode nil
156 "When set, means initially create just a minibuffer.")
157
158(defun x-establish-daemon-mode (switch)
159 (setq x-daemon-mode t))
160
161(defvar x-display-name nil 153(defvar x-display-name nil
162 "The X display name specifying server and X screen.") 154 "The X display name specifying server and X screen.")
163 155
@@ -626,6 +618,7 @@ This returns ARGS with the arguments that have been processed removed."
626;;; Do the actual X Windows setup here; the above code just defines 618;;; Do the actual X Windows setup here; the above code just defines
627;;; functions and variables that we use now. 619;;; functions and variables that we use now.
628 620
621(setq command-line-args (x-handle-args command-line-args))
629(x-open-connection (or x-display-name 622(x-open-connection (or x-display-name
630 (setq x-display-name (getenv "DISPLAY")))) 623 (setq x-display-name (getenv "DISPLAY"))))
631 624
@@ -636,7 +629,6 @@ This returns ARGS with the arguments that have been processed removed."
636 629
637(setq screen-creation-function 'x-create-screen) 630(setq screen-creation-function 'x-create-screen)
638(x-read-resources) 631(x-read-resources)
639(setq command-line-args (x-handle-args command-line-args))
640(x-pop-initial-window) 632(x-pop-initial-window)
641 633
642(setq suspend-hook 634(setq suspend-hook