summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-10-22 22:34:44 +0100
committerjao <jao@gnu.org>2021-10-22 22:34:44 +0100
commite88787a3fd9a996e1ff79d978907a7c1b09c9734 (patch)
treed010fa8f643a419df6473892aba8f2d1763a622c
parent0a2a2da894c5867e66f781f3cdb82f9ba0ade89c (diff)
downloadelibs-e88787a3fd9a996e1ff79d978907a7c1b09c9734.tar.gz
elibs-e88787a3fd9a996e1ff79d978907a7c1b09c9734.tar.bz2
eldoc tweaks
-rw-r--r--init.org20
1 files 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