]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix ElDoc in minibuffer
authorEshel Yaron <me@eshelyaron.com>
Tue, 8 Apr 2025 19:58:54 +0000 (21:58 +0200)
committerEshel Yaron <me@eshelyaron.com>
Tue, 8 Apr 2025 19:58:54 +0000 (21:58 +0200)
lisp/progmodes/elisp-mode.el

index a0f86554694a0bf4a06041148968b9516e402193..1b0f0f10263911477181d9717946c7500c2906f1 100644 (file)
@@ -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))