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: Nicolas Richard
Subject: Re: [AUCTeX] Remove Biber from TeX-command-list
Date: Thu, 17 Apr 2014 13:48:37 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

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.



reply via email to

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