[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31211: 27.0.50; Pruning of command-history in command-execute is off
From: |
Basil L. Contovounesios |
Subject: |
bug#31211: 27.0.50; Pruning of command-history in command-execute is off by one |
Date: |
Wed, 18 Apr 2018 19:36:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Evaluating the following:
(let ((history-length 1))
(dotimes (_ 2)
(command-execute #'ignore t))
(length command-history))
gives 2, instead of the expected 1.
Patch addressing this to follow.
--
Basil
In GNU Emacs 27.0.50 (build 6, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll
bars)
of 2018-04-18 built on thunk
Repository revision: 5dff4905d73d0d42447ff4b114d1af726a689c6a
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description: Debian GNU/Linux buster/sid
- bug#31211: 27.0.50; Pruning of command-history in command-execute is off by one,
Basil L. Contovounesios <=