all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#31211: 27.0.50; Pruning of command-history in command-execute is off by one
@ 2018-04-18 18:36 Basil L. Contovounesios
  2018-04-18 18:43 ` Basil L. Contovounesios
  0 siblings, 1 reply; 8+ messages in thread
From: Basil L. Contovounesios @ 2018-04-18 18:36 UTC (permalink / raw)
  To: 31211

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





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

end of thread, other threads:[~2018-05-03  0:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-18 18:36 bug#31211: 27.0.50; Pruning of command-history in command-execute is off by one Basil L. Contovounesios
2018-04-18 18:43 ` Basil L. Contovounesios
2018-04-18 18:52   ` Basil L. Contovounesios
2018-04-20 12:53   ` Noam Postavsky
2018-04-29 19:54     ` Basil L. Contovounesios
2018-04-29 22:43       ` Noam Postavsky
2018-04-30  0:51         ` Basil L. Contovounesios
2018-05-03  0:37           ` Noam Postavsky

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.