auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Remove Biber from TeX-command-list


From: Tassilo Horn
Subject: Re: [AUCTeX] Remove Biber from TeX-command-list
Date: Thu, 17 Apr 2014 14:35:51 +0200
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.4.50 (gnu/linux)

Nicolas Richard <address@hidden> writes:

>> A function `assoc-delete-all' would be nice.
>
> I think this is it :
>
> (defun assoc-delete-all (key alist)
>   (cl-remove-if
>    (lambda (x)
>      (equal key
>             (car x)))
>    alist))

To be equivalent with `assq-delete-all' which ignores non-cons elements,
you need something like

  (lambda (x)
    (and (consp x)
         (equal key (car x))))

as predicate.

Bye,
Tassilo



reply via email to

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