all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#72049: [PATCH] Fix reference from buffer-stale-function docstring
       [not found] <m1sewgrfiz.fsf.ref@yahoo.es>
@ 2024-07-10 23:30 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-07-11  4:46   ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-07-10 23:30 UTC (permalink / raw)
  To: 72049

[-- Attachment #1: Type: text/plain, Size: 423 bytes --]


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.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-reference-from-buffer-stale-function-docstring.patch --]
[-- Type: text/x-patch, Size: 897 bytes --]

From f68343952025b9a59e80b487b82683975b2f5878 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Mart=C3=ADn?= <mardani29@yahoo.es>
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#72049: [PATCH] Fix reference from buffer-stale-function docstring
  2024-07-10 23:30 ` bug#72049: [PATCH] Fix reference from buffer-stale-function docstring Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-07-11  4:46   ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2024-07-11  4:46 UTC (permalink / raw)
  To: Daniel Martín; +Cc: 72049-done

> Date: Thu, 11 Jul 2024 01:30:44 +0200
> From:  Daniel Martín via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> 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, installed on the emacs-30 release branch, and closing the bug.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-11  4:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <m1sewgrfiz.fsf.ref@yahoo.es>
2024-07-10 23:30 ` bug#72049: [PATCH] Fix reference from buffer-stale-function docstring Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-11  4:46   ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.