aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/term
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2006-10-19 08:02:23 +0000
committerYAMAMOTO Mitsuharu2006-10-19 08:02:23 +0000
commit045b190821781a78d6618b296d97369612ad4bd2 (patch)
treeb762e81df3cb8e3f796b816b261c2295c5aac98e /lisp/term
parent9346531434a0091a5655d83f9436fa011431bcfd (diff)
downloademacs-045b190821781a78d6618b296d97369612ad4bd2.tar.gz
emacs-045b190821781a78d6618b296d97369612ad4bd2.zip
*** empty log message ***
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/mac-win.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el
index bda2e398cb7..3f67c2c6613 100644
--- a/lisp/term/mac-win.el
+++ b/lisp/term/mac-win.el
@@ -2526,12 +2526,15 @@ ascii:-*-Monaco-*-*-*-*-12-*-*-*-*-*-mac-roman")
2526 (cons '(user-size . t) parsed)))) 2526 (cons '(user-size . t) parsed))))
2527 ;; All geometry parms apply to the initial frame. 2527 ;; All geometry parms apply to the initial frame.
2528 (setq initial-frame-alist (append initial-frame-alist parsed)) 2528 (setq initial-frame-alist (append initial-frame-alist parsed))
2529 ;; The size parms apply to all frames. 2529 ;; The size parms apply to all frames. Don't set it if there are
2530 (if (assq 'height parsed) 2530 ;; sizes there already (from command line).
2531 (if (and (assq 'height parsed)
2532 (not (assq 'height default-frame-alist)))
2531 (setq default-frame-alist 2533 (setq default-frame-alist
2532 (cons (cons 'height (cdr (assq 'height parsed))) 2534 (cons (cons 'height (cdr (assq 'height parsed)))
2533 default-frame-alist))) 2535 default-frame-alist)))
2534 (if (assq 'width parsed) 2536 (if (and (assq 'width parsed)
2537 (not (assq 'width default-frame-alist)))
2535 (setq default-frame-alist 2538 (setq default-frame-alist
2536 (cons (cons 'width (cdr (assq 'width parsed))) 2539 (cons (cons 'width (cdr (assq 'width parsed)))
2537 default-frame-alist)))))) 2540 default-frame-alist))))))