emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Support Q: How many args for self-insert-command


From: Robin Tarsiger
Subject: Re: Support Q: How many args for self-insert-command
Date: Mon, 18 Jan 2021 06:55:56 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0

Boruch Baum wrote:
> At what version did Emacs change the number of ARGs for
> self-insert-command?
> 
> I only have available versions 26 (one arg) and a September v28-snapshot
> (two args), so this is really asking about the state at release version
> 27 (still not available to me in debian).

Here's an answer with implied pointers to sources for similar answers:

git annotate shows that a relevant line in cmds.c was changed by
commit 81f0e05 on 2018-11-17, with the log entry:

  * src/cmds.c (Fself_insert_command): Get last-command-event via (new) arg.

The diff for that commit shows that it also adds an entry to etc/NEWS
under "Lisp Changes in Emacs 27.1".

To confirm from a different perspective, the Emacs 27.1 I'm using from
Arch has the two-argument form.

-RTT



reply via email to

[Prev in Thread] Current Thread [Next in Thread]