# HG changeset patch # User Oleksandr Gavenko # Date 1264701514 -7200 # Node ID d8034fa9f83edc945b8bf6f4cedaa65bd4719574 # Parent ee6dca41d9aa30eb53f9f2ceb97a6fa05a5a7aef Move 'resize-frame.el' to '.emacs-my'. diff -r ee6dca41d9aa -r d8034fa9f83e .emacs-my --- a/.emacs-my Thu Jan 28 19:53:12 2010 +0200 +++ b/.emacs-my Thu Jan 28 19:58:34 2010 +0200 @@ -1070,4 +1070,12 @@ "Nice day for Emacsing!")) ) (message (nth (random (length mgs-list)) mgs-list))))) +;; 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))) + ) + ;; End loading... diff -r ee6dca41d9aa -r d8034fa9f83e template-post/resize-frame.el --- a/template-post/resize-frame.el Thu Jan 28 19:53:12 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -;; 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))) - )