Creation of texfrag directory fails if the directory of buffer-file-name is read-only.
Use (temporary-file-directory) for default-directory in texfrag-LaTeX-file instead in such cases.
It is important to use make-temp-file to avoid clashes between different files with the same base name. Who does clean up the mess? (We should, but when?)
Creation of texfrag directory fails if the directory of buffer-file-name is read-only.
Use
(temporary-file-directory)
fordefault-directory
intexfrag-LaTeX-file
instead in such cases.It is important to use
make-temp-file
to avoid clashes between different files with the same base name. Who does clean up the mess? (We should, but when?)