summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-05-21 01:12:43 +0100
committerjao <jao@gnu.org>2021-05-21 01:12:43 +0100
commitdb796a2835aa2eaf35807570b45991c15acada1a (patch)
tree6c47861830669c4630f57e6d3d7272ecf1c1a1d9
parentc29f6653150081aafa1ddcb7d6518cccb464b7c2 (diff)
downloadelibs-db796a2835aa2eaf35807570b45991c15acada1a.tar.gz
elibs-db796a2835aa2eaf35807570b45991c15acada1a.tar.bz2
trying to set eldoc only in prog modes
-rw-r--r--init.org4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.org b/init.org
index 21cd552..8b7cf00 100644
--- a/init.org
+++ b/init.org
@@ -979,7 +979,9 @@
*** eldoc
#+begin_src emacs-lisp
(use-package eldoc
- :init (setq eldoc-mode-line-string nil)
+ :init (setq eldoc-mode-line-string nil
+ global-eldoc-mode nil)
+ :config (global-eldoc-mode -1)
:hook ((prog-mode . eldoc-mode))
:diminish ((eldoc-mode . "")))
#+end_src