]> git.donarmstrong.com Git - emacs.git/commitdiff
add abbrev mode settings
authorDon Armstrong <don@donarmstrong.com>
Fri, 24 May 2013 18:13:52 +0000 (11:13 -0700)
committerDon Armstrong <don@donarmstrong.com>
Fri, 24 May 2013 18:13:52 +0000 (11:13 -0700)
.emacs

diff --git a/.emacs b/.emacs
index 30bbd4349e0e1e21236f62701e4500263cdfbf5b..2783d01725b0470c5bce49277f02be0b0b6610a0 100644 (file)
--- a/.emacs
+++ b/.emacs
@@ -398,6 +398,18 @@ Argument DESCRIPTION MIME description."
 (add-hook 'post-mode-hook
          (auto-fill-mode nil)
          )
+; abbrev mode settings
+; load abbreviations from 
+(setq abbrev-file-name       
+      "~/.emacs_abbrev_def")
+
+; read the abbrev file if it exists
+(if (file-exists-p abbrev-file-name)
+    (quietly-read-abbrev-file))
+
+; for now, use abbrev mode everywhere
+(setq default-abbrev-mode t)
+
 
 (defun insert-function-documentation ()
   "Insert function documentation"