all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 72049@debbugs.gnu.org
Subject: bug#72049: [PATCH] Fix reference from buffer-stale-function docstring
Date: Thu, 11 Jul 2024 01:30:44 +0200	[thread overview]
Message-ID: <m1sewgrfiz.fsf@yahoo.es> (raw)
In-Reply-To: m1sewgrfiz.fsf.ref@yahoo.es

[-- 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


       reply	other threads:[~2024-07-10 23:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2024-07-11  4:46   ` bug#72049: [PATCH] Fix reference from buffer-stale-function docstring Eli Zaretskii

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1sewgrfiz.fsf@yahoo.es \
    --to=bug-gnu-emacs@gnu.org \
    --cc=72049@debbugs.gnu.org \
    --cc=mardani29@yahoo.es \
    /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 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.