>>> "AH" == Al Haji-Ali <[email protected]> writes:

> On 03/02/2021, Uwe Brauer wrote:


>>> If you want to
>>> include this in your emacs init to use a build directory by default
>>> for all buffers be sure to use setq-default instead of setq.
>> 
>> I am also not sure I see why I should use setq-default in this case. I
>> thought I can use it say for abbrev
>> 
> The new variable `TeX-build-dir` is a buffer-local variable.
> When a new buffer is created, the default value of `TeX-build-dir` is nil,
> unless you change the default value (after loading auctex) using 
> `setq-default`.


> To be clear, you can either set `TeX-build-dir` in a hook like 
> `LaTeX-mode-hook` or in your init
> file using `setq-default`. What would not work is setting `TeX-build-dir` 
> using `setq` in your
> init file.


I don't want to sound nitpicking but I have 

(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)


(setq TeX-output-dir  "build"
      TeX-region      "build/_region_")

In my auctex init file and that works.

Regards

Uwe 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to