aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy1993-03-25 04:39:49 +0000
committerJim Blandy1993-03-25 04:39:49 +0000
commit847f5dab018c6b0014f96a19e3a01ad94bc67a6e (patch)
treee592d5fc4d89404056f2196f3c79c6388833c127
parentc8c72d6b4b54800d6efc9bca914eb0a1ffe12e8c (diff)
downloademacs-847f5dab018c6b0014f96a19e3a01ad94bc67a6e.tar.gz
emacs-847f5dab018c6b0014f96a19e3a01ad94bc67a6e.zip
* x-win.el (x-defined-colors): Use x-color-defined-p instead of
x-defined-color. (x-handle-geometry): Use x-parse-geometry instead of x-geometry.
-rw-r--r--lisp/term/x-win.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index a088a265b29..2e518476294 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -147,8 +147,9 @@
147 147
148;; Handle the geometry option 148;; Handle the geometry option
149(defun x-handle-geometry (switch) 149(defun x-handle-geometry (switch)
150 (setq initial-frame-alist (append initial-frame-alist 150 (setq initial-frame-alist
151 (x-geometry (car x-invocation-args))) 151 (append initial-frame-alist
152 (x-parse-geometry (car x-invocation-args)))
152 x-invocation-args (cdr x-invocation-args))) 153 x-invocation-args (cdr x-invocation-args)))
153 154
154(defvar x-display-name nil 155(defvar x-display-name nil
@@ -418,7 +419,7 @@ This returns ARGS with the arguments that have been processed removed."
418 (while all-colors 419 (while all-colors
419 (setq this-color (car all-colors) 420 (setq this-color (car all-colors)
420 all-colors (cdr all-colors)) 421 all-colors (cdr all-colors))
421 (and (x-defined-color this-color) 422 (and (x-color-defined-p this-color)
422 (setq defined-colors (cons this-color defined-colors)))) 423 (setq defined-colors (cons this-color defined-colors))))
423 defined-colors)) 424 defined-colors))
424 425