[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding to TeX-clean-default-intermediate-suffixes
From: |
Greg Bognar |
Subject: |
Re: Adding to TeX-clean-default-intermediate-suffixes |
Date: |
Wed, 01 Apr 2020 12:50:22 -0400 |
On Wed 1 Apr 2020 at 02:58 Joost Kremers wrote:
> On Tue, Mar 31 2020, Greg Bognar wrote:
> > In my init.el, there are two more packages that add to the list:
> > auctex-latexmk and latex-extra. latex-extra uses add-to-list and
> > auctex-latexmk uses append.
>
> Well, at least that tells us where "Notes.bib" comes from. :-)
>
> > So what I'd like to do is to append `LaTeX-clean-intermediate-suffixes' with
> > some more suffixes. However, doing
> >
> > (setq LaTeX-clean-default-intermediate-suffixes
> > '(append LaTeX-clean-default-intermediate-suffixes
> > '("\\.dvi" "\\.ent" "\\.fmt" "\\.rel" "\\.rip"
> > "\\.tags" "\\.vrb")))
> >
> > does not work. (Even if I completely comment out auctex-latexmk and
> > latex-extra.)
> >
> > What is the proper way to append `LaTeX-clean-intermediate-suffixes',
> > preserving all the other additions to it?
>
> The proper way is to actually set `LaTeX-clean-intermediate-suffixes`. (Check
> your `setq` above *carefully*... ;-P )
Ah, I see. So it should be
(setq LaTeX-clean-intermediate-suffixes
(append LaTeX-clean-intermediate-suffixes
'("\\.dvi" "\\.ent" "\\.fmt" "\\.rel" "\\.rip" "\\.tags" "\\.vrb")))
Embarrassing. Thanks!