Hello Tassilo,

>> (assq-delete-all
>>  (car (assoc "Biber" TeX-command-list))
>>  TeX-command-list)
>>
>> which can be easily changed for deleting other unwanted entries.

I forgot to 'setq TeX-command-list' the result (truth is I thought it
was never necessary, but it is in some cases.)

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

dash.el has the "anaphoric" form
(require 'dash)
(--remove (equal (car it) key) alist)



-- 
Nico.

_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to