From: Eshel Yaron via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 74727@debbugs.gnu.org
Cc: Dmitry Gutov <dmitry@gutov.dev>
Subject: bug#74727: [PATCH] ; * lisp/apropos.el (apropos-library): Fix typo.
Date: Sat, 07 Dec 2024 14:31:53 +0100 [thread overview]
Message-ID: <m1cyi3fwl2.fsf@macbookpro.home> (raw)
[-- Attachment #1: Type: text/plain, Size: 454 bytes --]
Tags: patch
This patch fixes the issue described below, which IIUC originates in a
mere typo in commit 671862f6b3089c3a503c1b6936a821ad54429359
1. emacs -Q
2. M-x apropos-library elisp-mode RET
3. The *Apropos* buffer incorrectly lists methods that elisp-mode.el
defines as if they were _features_ provided by the library.
Accordingly, clicking on one of those references yields an error such
as "Unknown library `xref-backend-definitions'"
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-apropos.el-apropos-library-Fix-typo.patch --]
[-- Type: text/patch, Size: 885 bytes --]
From 40af45daf1ff41ddb1ba624a99a249b36f724bd0 Mon Sep 17 00:00:00 2001
From: Eshel Yaron <me@eshelyaron.com>
Date: Sat, 7 Dec 2024 14:13:12 +0100
Subject: [PATCH] ; * lisp/apropos.el (apropos-library): Fix typo.
---
lisp/apropos.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/apropos.el b/lisp/apropos.el
index 0655fecd0e8..eb2c36f673e 100644
--- a/lisp/apropos.el
+++ b/lisp/apropos.el
@@ -733,7 +733,7 @@ apropos-library
('t nil) ; Skip "was an autoload" entries.
;; FIXME: Print information about each individual method: both
;; its docstring and specializers (bug#21422).
- ('cl-defmethod (push (cadr x) provides))
+ ('cl-defmethod (push (cadr x) symbols))
;; FIXME: Add extension point (bug#72616).
(_ (let ((sym (or (cdr-safe x) x)))
(and sym (symbolp sym)
--
2.46.2
next reply other threads:[~2024-12-07 13:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-07 13:31 Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-12-08 1:54 ` bug#74727: [PATCH] ; * lisp/apropos.el (apropos-library): Fix typo Dmitry Gutov
2024-12-08 16:37 ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-10 1:41 ` Dmitry Gutov
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1cyi3fwl2.fsf@macbookpro.home \
--to=bug-gnu-emacs@gnu.org \
--cc=74727@debbugs.gnu.org \
--cc=dmitry@gutov.dev \
--cc=me@eshelyaron.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).