Dear Arash,
>>>>> Arash Esbati <[email protected]> writes:

    > Colin Baxter <[email protected]> writes:
    >> Apart from perhaps locally reverting 2a642a458, how do I recover
    >> the old ChangeLog behaviour of not inserting a section heading
    >> when I `C-x 4 a'?  I have tried (setq
    >> add-log-current-defun-function nil) with no effect.

    > Hi Colin,

    > it doesn't work if you set a buffer-local variable on global
    > level.  Put something like this in your .emacs:

    > (defun reset-add-log-current-defun-function () (setq
    > add-log-current-defun-function nil))

    > (add-hook 'LaTeX-mode-hook #'reset-add-log-current-defun-function)

Thank you. That works!

Best wishes,

Colin Baxter
[email protected]
---------------------------------------------------------------------
GnuPG fingerprint: 68A8 799C 0230 16E7 BF68  2A27 BBFA 2492 91F5 41C8
---------------------------------------------------------------------

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

Reply via email to