summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-04-19 23:20:28 +0200
committerGravatar Tom Willemse2014-04-19 23:20:28 +0200
commita993188f67f08be87f8f2eabcbdfc6dc2cc06813 (patch)
tree56d99b276996a39e23ba7409c6715798986e750d
parent63c5b96d1e76a670950975cfec64cceb2fc9c5d9 (diff)
downloademacs-a993188f67f08be87f8f2eabcbdfc6dc2cc06813.tar.gz
emacs-a993188f67f08be87f8f2eabcbdfc6dc2cc06813.zip
Move hippie-expand setting to init.org
-rw-r--r--.emacs.d/init.el4
-rw-r--r--.emacs.d/init.org11
2 files changed, 11 insertions, 4 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index f243daf..343869b 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -918,10 +918,6 @@ from myaethon2.core.decorators import (
Location,
)")))))
-;;;; Aliases
-
-(defalias 'dabbrev-expand 'hippie-expand)
-
;;;; Load path
(eval-and-compile
diff --git a/.emacs.d/init.org b/.emacs.d/init.org
index 7f365ee..30d1703 100644
--- a/.emacs.d/init.org
+++ b/.emacs.d/init.org
@@ -315,6 +315,17 @@
(defalias 'yes-or-no-p 'y-or-n-p)
#+END_SRC
+* Use =hippie-expand=, not =dabbrev-expand=
+
+ I've never actually used =dabbrev-expand=, and only rarely use
+ =hippie-expand= really, but since =hippie-expand= also includes a
+ =dabbrev= expander and a lot more than just that, it seems alright to
+ do this.
+
+ #+BEGIN_SRC emacs-lisp
+ (defalias 'dabbrev-expand 'hippie-expand)
+ #+END_SRC
+
* Footnotes
[fn:1] https://github.com/sabof/svg-mode-line-themes