Hi all,
I was trying to run TeX-clean on closing a tex file.

(add-hook 'TeX-mode-hook
    '(lambda ()
    (make-local-hook 'kill-buffer-hook)
    (add-hook 'kill-buffer-hook 'TeX-clean)))

works but now TeX-clean also gets executed on AUCTEX's other buffers (latex
output etc), which isn't desirable.  Looking forward to your help.

Colin



_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to