[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51939: 27.2; eldoc uses new variable show-paren-context-when-offscre
From: |
Lars Ingebrigtsen |
Subject: |
bug#51939: 27.2; eldoc uses new variable show-paren-context-when-offscreen |
Date: |
Thu, 18 Nov 2021 10:34:55 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Greg Minshall <minshall@umich.edu> writes:
> commit
> ----
> 9f505c476eb1a8e85ba26964abf218cab7db0e57
> ----
>
> seems to behave badly in my emacs
> ----
> GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27,
> cairo version 1.17.4) of 2021-03-26
Hm... are you using the eldoc.el file from Emacs 29 in Emacs 27.2? The
version number hasn't been bumped, so it shouldn't have landed in ELPA
yet, I'd have thought.
> the messages are
> ----
> eldoc error: (void-variable show-paren-context-when-offscreen)
> ----
> as i'm editing e-lisp code.
>
> i wonder if this might be a good amendment?
> ----
> @@ -385,7 +385,8 @@ Also store it in `eldoc-last-message' and return that
> value."
> ;; The following configuration shows "Matches..." in the
> ;; echo area when point is after a closing bracket, which
> ;; conflicts with eldoc.
> - (and show-paren-context-when-offscreen
> + (and (boundp 'show-paren-context-when-offscreen)
> + show-paren-context-when-offscreen
Yup; looks like the right fix to me. Pushed to Emacs 29 now.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no