template-post/resize-frame.el
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 17 Jan 2010 23:44:35 +0200
changeset 246 1d425e81b47f
parent 166 7fce1bd47ee9
child 262 dce7a93824e0
permissions -rw-r--r--
Added comment.

;; DO NOT EDIT COMMENT! TAG: resize-frame
;; 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)))
  )