[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#71815: 31.0.50; Links to minor mode variables bring to minor mode (t
From: |
Stefan Kangas |
Subject: |
bug#71815: 31.0.50; Links to minor mode variables bring to minor mode (the function) |
Date: |
Fri, 28 Jun 2024 10:19:02 +0000 |
Version: 30.1
Thierry Volpiatto <thievol@posteo.net> writes:
> When a minor-mode docstring doesn't specify what ARG does, a generic
> mode is added to this docstring, this additional docstring is specified
> in `easy-mmode--arg-docstring` and contains this sentence:
>
> --8<---------------cut here---------------start------------->8---
> To check whether the minor mode is enabled in the current buffer,
> evaluate `%s'.
> --8<---------------cut here---------------end--------------->8---
>
> When hitting RET on this link to the mode variable from the docstring,
> the link brings back to this same docstring i.e. the function.
>
> For example try C-h f bug-reference-mode and hit RET on the link to
> `bug-reference-mode', it bring back to this same docstring.
>
> A possible fix is specifying the word "variable" before the link in
> `easy-mmode--arg-docstring`:
>
> @@ -94 +94 @@
> -evaluate `%s'.
> +evaluate the variable `%s'.
Thanks, fixed on emacs-30.