Subject: [PATCH] Fix reference to help-enable-variable-value-editing

From: Daniel Martín <[email-masked]>
Date: Sun, 29 May 2022 16:24:16 +0200

Tags: patch

There is an incorrect reference to a new variable introduced in Emacs
29.  The attached patch fixes the issue.

In GNU Emacs 28.1 (build 1, aarch64-apple-darwin21.1.0, NS appkit-2113.00 Version 12.0.1 (Build 21A559))
 of 2022-04-04 built on armbob.lan
Windowing system distributor 'Apple', version 10.3.2113
System Description:  macOS 12.4

Configured using:
 'configure --with-ns '--enable-locallisppath=/Library/Application
 Support/Emacs/${version}/site-lisp:/Library/Application
 Support/Emacs/site-lisp' --with-modules'

>From 7283678ec67317fa001857d8088f925773e81d8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Mart=C3=ADn?= <[email-masked]>
Date: Sun, 29 May 2022 16:19:28 +0200
Subject: [PATCH] Fix reference to help-enable-variable-value-editing

* lisp/help-mode.el (help-mode): Fix docstring to reference the
correct variable name.
* lisp/ldefs-boot.el (help-mode): Ditto.
---
 lisp/help-mode.el  | 2 +-
 lisp/ldefs-boot.el | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/help-mode.el b/lisp/help-mode.el
index 3bd272b723..2fcb8b9f3e 100644
--- a/lisp/help-mode.el
+++ b/lisp/help-mode.el
@@ -404,7 +404,7 @@ help-mode--current-data
 ;;;###autoload
 (define-derived-mode help-mode special-mode "Help"
   "Major mode for viewing help text and navigating references in it.
-Also see the `help-enable-editing' variable.
+Also see the `help-enable-variable-value-editing' variable.
 
 Commands:
 \\{help-mode-map}"
diff --git a/lisp/ldefs-boot.el b/lisp/ldefs-boot.el
index 362c3221c6..690da5bb49 100644
--- a/lisp/ldefs-boot.el
+++ b/lisp/ldefs-boot.el
@@ -16524,7 +16524,7 @@ "help-macro"
 
 (autoload 'help-mode "help-mode" "\
 Major mode for viewing help text and navigating references in it.
-Also see the `help-enable-editing' variable.
+Also see the `help-enable-variable-value-editing' variable.
 
 Commands:
 \\{help-mode-map}
-- 
2.34.1