[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] ChangeLog - recover previous behaviour.

From: Colin Baxter
Subject: Re: [AUCTeX-devel] ChangeLog - recover previous behaviour.
Date: Wed, 24 Apr 2019 20:15:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Dear Arash,
>>>>> Arash Esbati <address@hidden> writes:

    > Colin Baxter <address@hidden> 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
GnuPG fingerprint: 68A8 799C 0230 16E7 BF68  2A27 BBFA 2492 91F5 41C8

reply via email to

[Prev in Thread] Current Thread [Next in Thread]