summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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