[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Caching package information
From: |
Tassilo Horn |
Subject: |
Re: Caching package information |
Date: |
Fri, 13 Nov 2020 21:39:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Maximilian Wuttke <mwuttke97@posteo.de> writes:
Hi Maximilian,
>> PS: AUCTex is great! It was one of the reasons why I switched from
>> vim to Emacs. :) I've already written my bachelor's thesis and a
>> paper with Emacs, and now I'm writing my master's thesis.
Good to hear!
> OK, I implemented this feature for myself. It wasn't so complicated
> after all.
There you go!
>> ;; Save TeX and LaTeX packages and document classes to a file
>> ;; Code inspired by `company-statistics.el'
>>
>> (defvar LaTeX-packages-file (concat user-emacs-directory
>> "latex-packages-cache.el"))
Just a small nitpick: instead of concat-ing directory and file name,
you'd rather use
(expand-file-name "latex-packages-cache.el" user-emacs-directory)
Bye,
Tassilo