From 09c3a77617b8e22a8be2983f021a48215c430614 Mon Sep 17 00:00:00 2001 From: Miranda Marquez Date: Sun, 28 Jul 2024 17:30:08 -0800 Subject: [PATCH] try not to eldoc..? doesn't work --- init.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 18ab084..9587196 100644 --- a/init.el +++ b/init.el @@ -415,7 +415,14 @@ If the current window occupies the whole frame, split it." (use-package eldoc-box :after eldoc :diminish (eldoc-mode eldoc-box-hover-at-point-mode) - :hook (prog-mode . eldoc-box-hover-at-point-mode)) + :hook (prog-mode . eldoc-box-hover-at-point-mode) + :init + (defun mir/eldoc-dont (orig &rest args) + (unless (member 'use-package args) + (apply orig args))) + (advice-add #'eldoc :around #'mir/eldoc-dont) + ) +;; (eldoc 'nothing) ;; load evil or meow (require 'mir-evil)