summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2016-10-14 14:48:40 -0700
committerFranck Cuny <franck.cuny@gmail.com>2016-10-14 14:48:40 -0700
commite903ee71a58cc155564f0cb57260aa9a1f5a5acb (patch)
treec8891c53f99371b9e336d5640f4bcb28500c618d
parent[emacs] Delete configuration for org-mode. (diff)
downloademacs.d-e903ee71a58cc155564f0cb57260aa9a1f5a5acb.tar.gz
[emacs] Change the font size and the frame's title.
Use a bigger font for the main window, and a smaller one for the
modeline.

Change the title of the frame to contain the mode and the name of the
file.
-rw-r--r--emacs.d/lib/my-settings.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/emacs.d/lib/my-settings.el b/emacs.d/lib/my-settings.el
index 2e7e331..ec5c4b6 100644
--- a/emacs.d/lib/my-settings.el
+++ b/emacs.d/lib/my-settings.el
@@ -47,7 +47,11 @@
 ;; I don't want a frindge on the right
 (fringe-mode '(4 . 0))
 
-;; Set default font
-(set-face-attribute 'default nil :family "Droid Sans Mono" :height 130 :weight 'normal :width 'normal)
+;; frame title
+(setq frame-title-format '( "%b" " [" (:eval mode-name) "]"))
+
+;; Set default font. Large font for the main window, but small font for the modeline
+(set-face-attribute 'default nil :family "Menlo" :height 150 :weight 'normal :width 'normal)
+(set-face-attribute 'mode-line nil  :height 120)
 
 (provide 'my-settings)