summaryrefslogtreecommitdiff
path: root/home/dots
diff options
context:
space:
mode:
authorMarc Coquand <marc@coquand.email>2024-12-02 17:35:14 +0200
committerMarc Coquand <marc@coquand.email>2024-12-02 17:35:14 +0200
commita81f263bd1e279c229891f977746032f11055e37 (patch)
tree15d3666f4138553bccd4189fc733835dfa3c64e6 /home/dots
parent65084da57f2881cb2bc5de31657ce88f31a5fadb (diff)
downloadguix-a81f263bd1e279c229891f977746032f11055e37.tar.gz
guix-a81f263bd1e279c229891f977746032f11055e37.tar.bz2
guix-a81f263bd1e279c229891f977746032f11055e37.zip
.
Diffstat (limited to 'home/dots')
-rw-r--r--home/dots/.emacs6
1 files changed, 5 insertions, 1 deletions
diff --git a/home/dots/.emacs b/home/dots/.emacs
index b9a1d2a..d01e85e 100644
--- a/home/dots/.emacs
+++ b/home/dots/.emacs
@@ -735,10 +735,12 @@
:diminish eldoc-mode
:init
(defun kill-help-and-eldoc-buffers ()
- "Removes the help window or eldoc window."
+ "Removes info windows."
(interactive)
+ (kill-matching-buffers "^\\*compilation\\*" nil t)
(kill-matching-buffers "^\\*Help\\*" nil t)
(kill-matching-buffers "^\\*eldoc" nil t))
+ (global-eldoc-mode -1)
:bind
("C-h ." . eldoc)
("C-h ," . kill-help-and-eldoc-buffers)
@@ -858,6 +860,8 @@
:custom
(setq jsonrpc-event-hook nil)
:hook
+ (eglot-managed-mode . (lambda ()
+ (eldoc-mode -1)))
(css-mode . eglot-ensure)
(html-mode . eglot-ensure)
(javascript-mode . eglot-ensure)