unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#75174: 29.4.50; [PATCH] Add missing parameters in keymap doc
@ 2024-12-28 20:39 Kohei Tsuruta
  2024-12-29 13:41 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Kohei Tsuruta @ 2024-12-28 20:39 UTC (permalink / raw)
  To: 75174

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

Hi, I noticed that set-transient-map missed the last two parameters in
the keymap doc. These two parameters are explained in the doc but not in
the function declaration.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Add-missing-parameters-in-keymap-doc.patch --]
[-- Type: text/x-patch, Size: 932 bytes --]

From efcd4bb1f6e62f637ab299dac1a3be4bc035ebc2 Mon Sep 17 00:00:00 2001
From: Kohei Tsuruta <seventhepg@gmail.com>
Date: Fri, 27 Dec 2024 15:27:34 -0800
Subject: [PATCH] ; Add missing parameters in keymap doc

* doc/lispref/keymaps.texi (Controlling Active Maps): Add missing
parameters.
---
 doc/lispref/keymaps.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi
index 4b900e3a30d..1e43814f4cf 100644
--- a/doc/lispref/keymaps.texi
+++ b/doc/lispref/keymaps.texi
@@ -1115,7 +1115,7 @@ Controlling Active Maps
 @end defvar
 
 @cindex transient keymap
-@defun set-transient-map keymap &optional keep-pred on-exit
+@defun set-transient-map keymap &optional keep-pred on-exit message timeout
 This function adds @var{keymap} as a @dfn{transient} keymap, which
 takes precedence over other keymaps for one (or more) subsequent keys.
 
-- 
2.39.5 (Apple Git-154)


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

* bug#75174: 29.4.50; [PATCH] Add missing parameters in keymap doc
  2024-12-28 20:39 bug#75174: 29.4.50; [PATCH] Add missing parameters in keymap doc Kohei Tsuruta
@ 2024-12-29 13:41 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2024-12-29 13:41 UTC (permalink / raw)
  To: Kohei Tsuruta; +Cc: 75174-done

> From: Kohei Tsuruta <seventhepg@gmail.com>
> Date: Sat, 28 Dec 2024 12:39:32 -0800
> 
> Hi, I noticed that set-transient-map missed the last two parameters in
> the keymap doc. These two parameters are explained in the doc but not in
> the function declaration.

Thanks, installed on the emacs-30 branch, and closing the bug.





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

end of thread, other threads:[~2024-12-29 13:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-28 20:39 bug#75174: 29.4.50; [PATCH] Add missing parameters in keymap doc Kohei Tsuruta
2024-12-29 13:41 ` Eli Zaretskii

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).