.emacs-my
changeset 285 9883ac39abc3
parent 284 bf5829d9bbf7
child 288 5009c3f4afef
--- a/.emacs-my	Fri Jan 29 16:13:48 2010 +0200
+++ b/.emacs-my	Sat Jan 30 21:24:29 2010 +0200
@@ -1098,10 +1098,11 @@
 
 ;; Size of emacs area and its position.
 (when window-system
-  ;; This size for 1280x1024 resolusion and 13pt font to occupy almost all screen.
   (run-at-time (format "%d sec" 1) nil '(lambda () (set-frame-position (selected-frame) 1 1)))
-  (run-at-time (format "%d sec" 2) nil '(lambda () (set-frame-width (selected-frame) 150 t)))
-  (run-at-time (format "%d sec" 3) nil '(lambda () (set-frame-height (selected-frame) 60 t)))
+  (when (boundp 'my-frame-width)
+    (run-at-time (format "%d sec" 2) nil '(lambda () (set-frame-width (selected-frame) my-frame-width t))) )
+  (when (boundp 'my-frame-height)
+    (run-at-time (format "%d sec" 3) nil '(lambda () (set-frame-height (selected-frame) my-frame-height t))) )
   )
 
 ;; End loading...