Hi Diogo and Arash, > Good idea, Arash. Unfortunately, the function still isn't executed, > even tho the variable `TeX-after-compilation-finished-functions' is > local in the buffer and the function shows up when I describe it.
> % Local Variables: > % eval: (add-hook 'TeX-after-compilation-finished-functions (lambda (x) > (message "hello, world")) nil t) > % End: When `TeX-LaTeX-sentinel' runs `TeX-after-compilation-finished-functions', the current buffer is the process output buffer *xxx output*. Thus the local value of the latex document buffer is not consulted. With the current AUCTeX code, it would be necessary to rely on an idea such that > Something like: > (lambda (file) > (when (= file "/file/that/I/want") > ...)) in order to achieve Diogo's request. Regards, Ikumi Keita _______________________________________________ auctex mailing list firstname.lastname@example.org https://lists.gnu.org/mailman/listinfo/auctex