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

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

Re: Remove duplicates in comint-mode command history


From: Peter Dyballa
Subject: Re: Remove duplicates in comint-mode command history
Date: Thu, 8 Dec 2005 11:07:00 +0100


Am 08.12.2005 um 03:55 schrieb Denis Bueno:

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)))


Well, I took it out of my customisation clause where it is recorded as:

        '(history-delete-duplicates t)


--
Greetings

  Pete

The human animal differs from the lesser primates in his passion for lists of "Ten Best".
                -- H. Allen Smith





reply via email to

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