summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2013-01-04 02:08:31 +0100
committerGravatar Tom Willemsen2013-01-04 02:08:31 +0100
commitf10f2a2382d66e1f8b365e4e59d516af04bc1f26 (patch)
tree823b229e0f6a4a9024f55cdee3a74cc8254f1a09
parent8e5daed796494e602423bdedb1902fb7519b522e (diff)
downloaddotfiles-f10f2a2382d66e1f8b365e4e59d516af04bc1f26.tar.gz
dotfiles-f10f2a2382d66e1f8b365e4e59d516af04bc1f26.zip
Emacs: Move some more things to init.org
-rw-r--r--.emacs.d/init.el6
-rw-r--r--.emacs.d/init.org20
2 files changed, 20 insertions, 6 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 8a59ddc..ebbb83d 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -8,12 +8,6 @@
(load (concat user-emacs-directory "init2"))
-(eval-after-load "eldoc"
- '(diminish 'eldoc-mode))
-
-(eval-after-load "em-term"
- '(add-to-list 'eshell-visual-commands "unison"))
-
(eval-after-load "emms-source-file"
'(progn
(require 'emms-setup)
diff --git a/.emacs.d/init.org b/.emacs.d/init.org
index e21f45a..6e7ca46 100644
--- a/.emacs.d/init.org
+++ b/.emacs.d/init.org
@@ -326,6 +326,26 @@
(define-key key-translation-map (kbd "C-l") (kbd "C-j"))
#+END_SRC
+* eldoc
+
+ Diminish ~eldoc~'s lighter to nothing after it loads to keep the
+ mode-line clean.
+
+ #+begin_src emacs-lisp :tangle init2.el
+ (eval-after-load "eldoc"
+ '(diminish 'eldoc-mode))
+ #+end_src
+
+* eshell
+
+ After ~em-term.el~ loads add ~unison~ to the ~eshell-visual-commands~ to
+ make sure it gets unbuffered input.
+
+ #+begin_src emacs-lisp :tangle init2.el
+ (eval-after-load "em-term"
+ '(add-to-list 'eshell-visual-commands "unison"))
+ #+end_src
+
* Footnotes
[fn:1] Though it doesn't happen often that ~trunk~ is so messed up that