bug-gnu-emacs
[Top][All Lists]
Advanced

[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:43:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

tags 31211 patch
quit

Attachment: 0001-Improve-simple.el-history-and-ring-pruning.patch
Description: Text Data

Attachment: 0002-Minor-simple.el-simplifications-bug-31211.patch
Description: Text Data

"Basil L. Contovounesios" <contovob@tcd.ie> writes:

> Patch addressing this to follow.

I attach two patches.

The first likens the history and ring pruning in command-execute,
kill-new, and push-mark to that in add-to-history, thus also fixing the
off-by-one error in command-execute.

The second suggests some minor refactors/simplifications in surrounding
functions.

Thanks,

-- 
Basil

reply via email to

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