From 5a00c3d65876dbfb17aa7cad1a21d29bce53242c Mon Sep 17 00:00:00 2001 From: stardiviner Date: Fri, 7 Oct 2022 10:08:36 +0800 Subject: [PATCH] Fix eldoc-overlay-disable logic to follow new eldoc mechanism --- eldoc-overlay.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eldoc-overlay.el b/eldoc-overlay.el index 5e8f625..f4885fc 100644 --- a/eldoc-overlay.el +++ b/eldoc-overlay.el @@ -129,6 +129,9 @@ This function used as value of `eldoc-message-function'." (remove-hook 'post-command-hook #'quick-peek-hide))) ('inline-docs (inline-docs--clear-overlay))) + (when (boundp 'eldoc-documentation-functions) + (setq eldoc-display-functions + (delq #'eldoc-overlay-display eldoc-display-functions))) (setq-local eldoc-message-function #'eldoc-minibuffer-message)) ;;;###autoload -- 2.11.4.GIT