From: No Wayman <iarchivedmywholelife@gmail.com>
To: 70209@debbugs.gnu.org
Subject: bug#70209: 30.0.50; describe key + lambda too poetic
Date: Fri, 05 Apr 2024 01:07:39 -0400 [thread overview]
Message-ID: <87wmpc9z38.fsf@gmail.com> (raw)
In-Reply-To: <874jcgbekr.fsf@gmail.com> (No Wayman's message of "Fri, 05 Apr 2024 00:47:48 -0400")
[-- Attachment #1: Type: text/plain, Size: 32 bytes --]
See attached patch, which is.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Include-lambda-type-in-describe-key-output.patch --]
[-- Type: text/x-patch, Size: 903 bytes --]
From 65f0f2fa251a7b18c15698460c499394b931d09d Mon Sep 17 00:00:00 2001
From: Nicholas Vollmer <iarchivedmywholelife@gmail.com>
Date: Thu, 4 Apr 2024 23:54:42 -0400
Subject: [PATCH] Include lambda type in describe-key output
* lisp/help-fns.el (help-fns-function-description-header):
Add case to describe lambda forms (Bug#70209).
---
lisp/help-fns.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index a291893e9a2..3a5984d5b84 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -1102,6 +1102,8 @@ help-fns-function-description-header
elts nil))
(setq elts (cdr-safe elts)))
(concat beg (if is-full "keymap" "sparse keymap"))))
+ ((eq (car-safe def) 'lambda)
+ (concat beg "anonymous Lisp function"))
(t ""))))
(with-current-buffer standard-output
(insert description))
--
2.44.0
next prev parent reply other threads:[~2024-04-05 5:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-05 4:47 bug#70209: 30.0.50; describe key + lambda too poetic No Wayman
2024-04-05 5:07 ` No Wayman [this message]
2024-04-05 5:43 ` Eli Zaretskii
2024-04-05 11:44 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-05 20:58 ` No Wayman
2024-04-05 22:32 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-06 5:36 ` No Wayman
2024-04-06 13:17 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
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=87wmpc9z38.fsf@gmail.com \
--to=iarchivedmywholelife@gmail.com \
--cc=70209@debbugs.gnu.org \
/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).