emacs-devel
[Top][All Lists]
Advanced

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

history-delete-duplicates and read-file-name


From: Piet van Oostrum
Subject: history-delete-duplicates and read-file-name
Date: Mon, 08 Nov 2004 13:40:55 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin)

The variable history-delete-duplicates, when non-nil, is supposed to
suppress duplicates in minibuffer reads with history. However, there is one
occasion where it fails:

Calling read-file-name with a default that is somewhere in the
file-name-history but not the most recent entry, and selecting the default,
causes read-file-name to add the selected filename, without removing the
existing entry. This is because it adds the new entry after read_minibuf
has finished. It should also check history-delete-duplicates.
-- 
Piet van Oostrum <address@hidden>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: address@hidden




reply via email to

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