summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-03-02 21:55:35 -0500
committerKyle Meyer <kyle@kyleam.com>2014-03-02 21:55:35 -0500
commit28786e12043e61dcbdf5438ed70955111b196f8e (patch)
tree22cf94e5763aad8637c2866181ae5117e045cc28 /lisp
parentbada2c4d00aac24521435ad4c81b1f5d363de818 (diff)
downloademacs.d-28786e12043e61dcbdf5438ed70955111b196f8e.tar.gz
Enable abbrev-mode in text modes
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-text.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/init-text.el b/lisp/init-text.el
index 275934e..70cfd86 100644
--- a/lisp/init-text.el
+++ b/lisp/init-text.el
@@ -2,7 +2,9 @@
(setq-default fill-column 72)
-(add-hook 'text-mode-hook 'turn-on-auto-fill)
+(add-hook 'text-mode-hook '(lambda ()
+ (abbrev-mode 1)
+ turn-on-auto-fill))
(defun km/export-wrapped-text (arg)
"Export the text in current buffer as wrapped text.