From e9727982cf62d0848056a9f3e42e8e719a609c8d Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Fri, 4 Oct 2024 23:29:59 +0200 Subject: [PATCH] * lisp/info-look.el (:mode): Support IELM. --- lisp/info-look.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lisp/info-look.el b/lisp/info-look.el index 52f20e34b88..2f36e598dcd 100644 --- a/lisp/info-look.el +++ b/lisp/info-look.el @@ -1098,6 +1098,11 @@ Return nil if there is nothing appropriate in the buffer near point." :parse-rule 'ignore :other-modes '(emacs-lisp-mode)) +(info-lookup-maybe-add-help + :mode 'inferior-emacs-lisp-mode + :regexp "[^][()`'‘’,:\" \t\n]+" + :other-modes '(emacs-lisp-mode)) + (info-lookup-maybe-add-help :mode 'lisp-mode :regexp "[^()`'‘’,\" \t\n]+"