[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master da07a5dc: Fix Texinfo mode with respect to interaction with R
From: |
Arash Esbati |
Subject: |
Re: master da07a5dc: Fix Texinfo mode with respect to interaction with RefTeX |
Date: |
Mon, 16 Oct 2023 20:12:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Ikumi Keita <ikumi@ikumi.que.jp> writes:
> branch: master
> commit da07a5dcb258d6bbb8745df5ae72096f64a65ca3
> Author: Ikumi Keita <ikumi@ikumi.que.jp>
> Commit: Ikumi Keita <ikumi@ikumi.que.jp>
>
> Fix Texinfo mode with respect to interaction with RefTeX
>
> * tex-info.el (Texinfo-reftex-section-info): Don't reset marker
> because the marker stays in the return value.
> [...]
> ---
> tex-info.el | 30 +++++++++++-------------------
> 1 file changed, 11 insertions(+), 19 deletions(-)
>
> diff --git a/tex-info.el b/tex-info.el
> index f1e97746..485bc072 100644
> --- a/tex-info.el
> +++ b/tex-info.el
> @@ -479,26 +479,18 @@ is assumed by default."
> (if (nth 1 reftex-label-menu-flags) ; section number flag
> (concat section-number " "))
> text))
> - (prog1
> - (list 'toc "toc" text file marker level section-number
> - literal (marker-position marker))
> - (set-marker marker nil))))
> + (list 'toc "toc" text file marker level section-number
> + literal (marker-position marker))
> + (set-marker marker nil)))
Hi Keita,
is this change correct? `Texinfo-reftex-section-info' is supposed to
"Return a section entry for the current match.". Now it returns
"marker" due to removal of that `prog1'. Or am I missing something?
Best, Arash
- Re: master da07a5dc: Fix Texinfo mode with respect to interaction with RefTeX,
Arash Esbati <=