added some settings for text-mode

This commit is contained in:
syl20bnr 2013-01-04 15:42:56 -05:00
parent a66bc8184c
commit 949c46d4e6

View file

@ -1,3 +1,4 @@
;; Global ---------------------------------------------------------------------
;; font size
(set-face-attribute 'default nil :height 110)
;; whitespace-mode
@ -10,3 +11,9 @@
;; highlight current line
(global-hl-line-mode t)
(set-face-background 'hl-line "#073642")
;; Text -----------------------------------------------------------------------
(add-hook 'text-mode-hook
'(lambda ()
(auto-fill-mode 1)
(flyspell-mode)))
(setq longlines-show-hard-newlines t)