From e88787a3fd9a996e1ff79d978907a7c1b09c9734 Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 22 Oct 2021 22:34:44 +0100 Subject: eldoc tweaks --- init.org | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/init.org b/init.org index 7354d9e..bd60a11 100644 --- a/init.org +++ b/init.org @@ -405,8 +405,18 @@ * Help system *** Help buffers #+begin_src emacs-lisp - (setq help-window-select t) + (setq help-window-select nil) #+end_src +*** eldoc + #+begin_src emacs-lisp + (use-package eldoc + :init (setq eldoc-mode-line-string nil + eldoc-echo-area-use-multiline-p t + eldoc-echo-area-prefer-doc-buffer nil + eldoc-display-functions '(eldoc-display-in-echo-area)) + :config (global-eldoc-mode 1) + :diminish ((eldoc-mode . ""))) + #+end_src *** Bookmarks #+begin_src emacs-lisp (setq bookmark-default-file "~/.emacs.d/emacs.bmk" @@ -863,14 +873,6 @@ (add-hook 'after-save-hook 'executable-make-buffer-file-executable-if-script-p) #+end_src -*** eldoc - #+begin_src emacs-lisp - (use-package eldoc - :init (setq eldoc-mode-line-string nil - eldoc-echo-area-use-multiline-p t) - :config (global-eldoc-mode 1) - :diminish ((eldoc-mode . ""))) - #+end_src *** Long lines [[https://200ok.ch/posts/2020-09-29_comprehensive_guide_on_handling_long_lines_in_emacs.html][Comprehensive guide on handling long lines in Emacs - 200ok]] #+begin_src emacs-lisp -- cgit v1.2.3