summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuo Jinghua <sunmoon1997@gmail.com>2010-01-18 10:20:25 +0800
committerLuo Jinghua <sunmoon1997@gmail.com>2010-01-18 10:20:25 +0800
commit365d3e5371ba21fb6a207997eefaed944e69ce2d (patch)
tree18f967334c82a917fa37717584474e3a8ba4d3e6
parentb53a33ed451b2f368ffb413d95e50ef2dc3836d2 (diff)
emacs: use correct font name
-rw-r--r--emacs17
1 files changed, 9 insertions, 8 deletions
diff --git a/emacs b/emacs
index ab0575f..96e8f00 100644
--- a/emacs
+++ b/emacs
@@ -5,14 +5,15 @@
;; setup fontset
(if window-system
(progn
- ;; font setting
- (set-frame-font "Bitstream Vera Sans Mono-9")
- (set-fontset-font (frame-parameter nil 'font)
- 'han '("Microsoft Yahei" . "unicode-bmp"))
-
- ;; window positioning
- (setq default-frame-alist '((top . 0) (left . 0)
- (width . 156) (height . 38)))))
+ ;; font setting
+ (set-frame-font "Bitstream Vera Sans Mono-9")
+ (add-to-list 'default-frame-alist '(font . "Bitstream Vera Sans Mono-9"))
+ (set-fontset-font (frame-parameter nil 'font)
+ 'han '("Microsoft YaHei" . "unicode-bmp"))
+
+ ;; Window Positioninga
+ (setq default-frame-alist '((top . 0) (left . 0)
+ (width . 156) (height . 38)))))
;; setup show startup message
(setq inhibit-startup-message t)