Enable eldoc during eval-expression
This commit is contained in:
parent
11449ca6eb
commit
dff0536e09
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue