Subject: bug#72049: [PATCH] Fix reference from buffer-stale-function docstring

From: Daniel Martín <[email-masked]>
Date: Thu, 11 Jul 2024 01:30:44 +0200

Steps to reproduce the bug:

- emacs -Q
- C-h v buffer-stale-function RET

Actual results:

The docstring refers to old Emacs Info node "Supporting additional
buffers".

Expected results:

The docstring points to Info node "Reverting", in the Elisp reference
manual.

This node was moved by commit 5fe81923e5b6dbbfb623befa12a3317a7e934a63.

I’ve attached a patch that corrects the issue.

Thanks.

>From f68343952025b9a59e80b487b82683975b2f5878 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Mart=C3=ADn?= <[email-masked]>
Date: Thu, 11 Jul 2024 01:22:04 +0200
Subject: [PATCH] Fix reference from buffer-stale-function docstring

* lisp/files.el (buffer-stale-function): Fix reference to a non-existent
Info node.
---
 lisp/files.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/files.el b/lisp/files.el
index e552f3ac413..42f12451c47 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -6857,7 +6857,7 @@ buffer-stale-function
 This should not be relied upon.
 
 For more information on how this variable is used by Auto Revert mode,
-see Info node `(emacs)Supporting additional buffers'.")
+see Info node `(elisp)Reverting'.")
 
 (defvar-local buffer-auto-revert-by-notification nil
   "Whether a buffer can rely on notification in Auto-Revert mode.
-- 
2.42.0