From: Alan Mackenzie <acm@muc.de>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: acm@muc.de, 71840@debbugs.gnu.org
Subject: bug#71840: 30.0.60; Reference to non-existent variable in c-opt-extra-label-key docstring
Date: Sun, 30 Jun 2024 20:33:25 +0000 [thread overview]
Message-ID: <ZoHBFcP73TXNMK0y@ACM> (raw)
In-Reply-To: <CADwFkmk-rKM1J1y=jcaG-WvXS015D=WXYskm8177LW2oS2dZ2Q@mail.gmail.com>
Hello, Stefan.
On Sat, Jun 29, 2024 at 06:12:10 -0700, Stefan Kangas wrote:
> Severity: minor
> There is a reference to a variable `c-nonlabel-decl-prefix-re` in the
> `c-opt-extra-label-key` docstring (cc-langs.el:4400), but I can't find
> that variable anywhere in our tree.
How on Earth did you spot that? :-)
Yes, it's true, that variable doesn't exist. I've found the commit
where it came into the doc string (from 2003-11-21), and the variable
itself was not in that commit. I can only assume that Martin (my
predecessor on CC Mode) created it as part of the patch, documented it,
then before committing the change decided it wasn't needed, but forgot
to amend the documentation. Or something like that.
I'll fix the documentation in the next day or so.
Thanks!
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2024-06-30 20:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-29 13:12 bug#71840: 30.0.60; Reference to non-existent variable in c-opt-extra-label-key docstring Stefan Kangas
2024-06-30 20:33 ` Alan Mackenzie [this message]
2024-06-30 23:31 ` Stefan Kangas
2024-07-01 20:45 ` Alan Mackenzie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZoHBFcP73TXNMK0y@ACM \
--to=acm@muc.de \
--cc=71840@debbugs.gnu.org \
--cc=stefankangas@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).