From f10f2a2382d66e1f8b365e4e59d516af04bc1f26 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 4 Jan 2013 02:08:31 +0100 Subject: Emacs: Move some more things to init.org --- .emacs.d/init.el | 6 ------ .emacs.d/init.org | 20 ++++++++++++++++++++ 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 -- cgit v1.2.3-54-g00ecf