Created
April 19, 2010 13:24
-
-
Save igaiga/371037 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 画面の大きさにあわせてウィンドウ高さ調整 | |
; mac でデュアルディスプレイにすると、 x-display-pixel-height が 2画面の和になる | |
(setq expected_height 30) ; default | |
(if (= (x-display-pixel-height) 2000) (setq expected_height 60)) | |
(if (= (x-display-pixel-height) 800) (setq expected_height 39)) | |
(set-frame-height nil expected_height) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment