]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
enable abbrev mode.
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Thu, 5 Nov 2015 20:11:07 +0000 (21:11 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Thu, 5 Nov 2015 20:11:07 +0000 (21:11 +0100)
bba.org

diff --git a/bba.org b/bba.org
index ae5d93648dc40bddadd24e4d4485d04771d4bd87..2a73deedcb24dfc56289a6940a7d2aa882cc2100 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -1367,6 +1367,18 @@ necessary.
 
 #+END_SRC
 
+* abbreviation
+
+Watching [[https://www.youtube.com/watch?v%3DFtieBc3KptU][Emacs For Writers]] by [[https://github.com/incandescentman][Jay Dixit]] I had to configure abbreviations.
+
+#+BEGIN_SRC emacs-lisp
+  (setq abbrev-file-name "~/org/abbrev_defs")
+  (if (file-exists-p abbrev-file-name)
+      (quietly-read-abbrev-file))
+  (setq default-abbrev-mode t)
+  (setq save-abbrevs 'silently)
+#+END_SRC
+
 * syntax-highlighting
 #+BEGIN_SRC emacs-lisp
   (font-lock-mode)