Enable eldoc during eval-expression

This commit is contained in:
Tom Willemse 2014-10-23 10:22:44 +02:00
parent 11449ca6eb
commit dff0536e09

View file

@ -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