Colin Baxter <m43...@yandex.com> 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:

--8<---------------cut here---------------start------------->8---
(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)
--8<---------------cut here---------------end--------------->8---

Best, Arash

_______________________________________________
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to