diff options
author | 2014-10-23 10:22:44 +0200 | |
---|---|---|
committer | 2014-10-23 10:22:44 +0200 | |
commit | dff0536e094c7b27368ff5fdd6b15aa7d337a4ae (patch) | |
tree | ffa34601a638c72b72532f3daef2a8651ec85f18 | |
parent | 11449ca6eb4cf94672c9bdbbf167412afc5a6a37 (diff) | |
download | dotfiles-dff0536e094c7b27368ff5fdd6b15aa7d337a4ae.tar.gz dotfiles-dff0536e094c7b27368ff5fdd6b15aa7d337a4ae.zip |
Enable eldoc during eval-expression
-rw-r--r-- | emacs/.emacs.d/init.org | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 3b35d0a..72128ce 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -943,6 +943,18 @@ (global-set-key (kbd "C-c i s") 'delete-string-contents) #+END_SRC +* Show eldoc when evaluating expressions + + Thanks to [[http://endlessparentheses.com/sweet-new-features-in-24-4.html][this post]] it was brought to my attention that eldoc mode + can be enabled when evaluating expressions using {{{key(M-:)}}}. + + I vaguely remember having had this before, I just don't know how or + why it stopped working. + + #+BEGIN_SRC emacs-lisp + (add-hook 'eval-expression-minibuffer-setup-hook #'eldoc-mode) + #+END_SRC + * Load custom file I don't really use the Emacs customization interface much, but I |