emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/term/x-win.el


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/term/x-win.el
Date: Sun, 23 Dec 2001 23:51:32 -0500

Index: emacs/lisp/term/x-win.el
diff -c emacs/lisp/term/x-win.el:1.147 emacs/lisp/term/x-win.el:1.148
*** emacs/lisp/term/x-win.el:1.147      Sun Sep 23 13:36:28 2001
--- emacs/lisp/term/x-win.el    Sun Dec 23 23:51:32 2001
***************
*** 127,141 ****
  
  ;; Handle the geometry option
  (defun x-handle-geometry (switch)
!   (let ((geo (x-parse-geometry (car x-invocation-args))))
!     (setq initial-frame-alist
!         (append initial-frame-alist
!                 (if (or (assq 'left geo) (assq 'top geo))
!                     '((user-position . t)))
!                 (if (or (assq 'height geo) (assq 'width geo))
!                     '((user-size . t)))
!                 geo)
!         x-invocation-args (cdr x-invocation-args))))
  
  ;; Handle the -name option.  Set the variable x-resource-name
  ;; to the option's operand; set the name of
--- 127,150 ----
  
  ;; Handle the geometry option
  (defun x-handle-geometry (switch)
!   (let* ((geo (x-parse-geometry (car x-invocation-args)))
!        (left (assq 'left geo))
!        (top (assq 'top geo))
!        (height (assq 'height geo))
!        (width (assq 'width geo)))
!     (if (or height width)
!       (setq default-frame-alist
!             (append default-frame-alist
!                     '((user-size . t))
!                     (if height (list height))
!                     (if width (list width)))))
!     (if (or left top)
!       (setq initial-frame-alist
!             (append initial-frame-alist
!                     '((user-position . t))
!                     (if left (list left))
!                     (if top (list top)))))
!     (setq x-invocation-args (cdr x-invocation-args))))
  
  ;; Handle the -name option.  Set the variable x-resource-name
  ;; to the option's operand; set the name of



reply via email to

[Prev in Thread] Current Thread [Next in Thread]