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: Johan Bockgård
Subject: Re: Remove duplicates in comint-mode command history
Date: Thu, 08 Dec 2005 00:30:05 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Denis Bueno <dbueno@gmail.com> writes:

> I've been programming in SML for a class I'm taking at school. This
> involved firing up Emacs and a sml-mode buffer with the source code,
> and another Emacs buffer with inferor-sml-mode, which uses comint.
>
> Is there any way (simple, preferably, but otherwise is fine) to
> remove duplicate command history entries? When I hit M-p, I want to
> see the last *unique* command I typed, not the last 25 times I typed
> the command to run my program.

`comint-input-ignoredups'

-- 
Johan Bockgård


reply via email to

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