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

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

bug#72138: 30.0.50; [PATCH] Fix ring size in comint-read-input-ring


From: Eli Zaretskii
Subject: bug#72138: 30.0.50; [PATCH] Fix ring size in comint-read-input-ring
Date: Sat, 27 Jul 2024 10:13:52 +0300

> From: Liu Hui <liuhui1610@gmail.com>
> Date: Tue, 16 Jul 2024 18:10:00 +0800
> 
> When comint-read-input-ring reads history to the ring, the global
> value of comint-input-ring-size (i.e. 500) is used regardless of the
> local value due to the use of temp buffer. For example:
> 
> 1. HISTSIZE=10 emacs -Q
> 2. M-x shell
> 
> The buffer-local value of comint-input-ring-size is correctly set to
> 10, but C-c C-l shows 500 commands.
> 
> The attached patch fixes the problem that comint-read-input-ring
> ignores the buffer-local comint-input-ring-size. Thanks.

Thanks, installed on the master branch, and closing the bug.





reply via email to

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