From dff0536e094c7b27368ff5fdd6b15aa7d337a4ae Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 23 Oct 2014 10:22:44 +0200 Subject: Enable eldoc during eval-expression --- emacs/.emacs.d/init.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- cgit v1.2.3-54-g00ecf