From 1c88e18268e824ba12f56a3a1602fd678c94ac05 Mon Sep 17 00:00:00 2001 From: Alan Mackenzie Date: Mon, 1 Jul 2024 20:37:28 +0000 Subject: [PATCH] Remove a reference to a non-existant variable from a doc-string * lisp/progmodes/cc-langs.el (c-opt-extra-label-key): Remove reference to c-nonlabel-decl-prefix-re from the doc string. (cherry picked from commit 921d40759e54e2fb5685a5b662b862ed614b9bc6) --- lisp/progmodes/cc-langs.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index 233d23492b6..72cfdfa8653 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el @@ -4396,10 +4396,9 @@ a label construct. This catches C++'s inheritance construct \"class foo (c-lang-defconst c-opt-extra-label-key "Optional regexp matching labels. -Normally, labels are detected according to `c-nonlabel-token-key', -`c-decl-prefix-re' and `c-nonlabel-decl-prefix-re'. This regexp can -be used if there are additional labels that aren't recognized that -way." +Normally, labels are detected according to `c-nonlabel-token-key' and +`c-decl-prefix-re'. This regexp can be used if there are additional +labels that aren't recognized that way." t nil objc (c-make-keywords-re t (c-lang-const c-protection-kwds))) (c-lang-defvar c-opt-extra-label-key (c-lang-const c-opt-extra-label-key)) -- 2.39.2