auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] Call for patches for last release on 11.x series


From: Ikumi Keita
Subject: Re: [AUCTeX-devel] Call for patches for last release on 11.x series
Date: Sun, 19 Nov 2017 21:09:55 +0900

>>>>> Arash Esbati <address@hidden> writes:

>> Ah, it's there, in reftex.el after all.
>> 
>> (defun reftex-uniquify (list &optional sort)
>> ;; Return a list of all strings in LIST, but each only once, keeping order
>> ;; unless SORT is set (faster!).
>> [...]
>> 
>> But that's specialized on strings, and a different package anyway.

> Great, thanks.  I tested it briefly and it seems to do the job.  I will
> do some more testing and add it as `TeX-uniquify-strings' (?) to the
> compat branch in order to replace `delete-dups'.

FYI, If the order of the output is irrelavant (i.e., it is OK to give
non-nil value for SORT), the essentially same function exists already in
AUCTeX: `TeX-delete-duplicate-strings'.

Best,
Ikumi Keita



reply via email to

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