From: Eshel Yaron Date: Tue, 8 Apr 2025 19:58:54 +0000 (+0200) Subject: Fix ElDoc in minibuffer X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=314ab24db68f4e24223fa90b06c5e9f3a598df15;p=emacs.git Fix ElDoc in minibuffer --- diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index a0f86554694..1b0f0f10263 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -2252,6 +2252,8 @@ ARGS is the argument list of function SYM." ;; If we are at the beginning of function name, this will be -1. (when (< argument-index 0) (setq argument-index 0)) + (unless (derived-mode-p 'emacs-lisp-mode) + (throw 'ball (list (elisp--current-symbol) argument-index))) (if (memq (get-text-property (point) 'face) '(elisp-special-form elisp-macro-call elisp-function-call)) (throw 'ball (list (elisp--current-symbol) argument-index))