From b8f7a850e1914b55cf901c4a1d1531caa660cf78 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 24 May 2013 11:13:52 -0700 Subject: [PATCH] add abbrev mode settings --- .emacs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.emacs b/.emacs index 30bbd43..2783d01 100644 --- 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" -- 2.39.2