[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Remove duplicates in comint-mode command history
From: |
Denis Bueno |
Subject: |
Re: Remove duplicates in comint-mode command history |
Date: |
Wed, 7 Dec 2005 21:55:05 -0500 |
On 12/7/05, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 07.12.2005 um 22:17 schrieb Denis Bueno:
>
> > Is there any way (simple, preferably, but otherwise is fine) to remove
> > duplicate command history entries?
>
> (setq history-delete-duplicates t), or in customisation.
For the record, the above did not work, but the below did.
(add-hook 'comint-mode-hook
'(lambda () (setq comint-input-ignoredups t)))
-Denis