--- Begin Message ---
Subject: |
CC Mode modes: mode hooks are called twice. |
Date: |
Fri, 14 Feb 2014 22:09:34 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
In C Mode, etc., c-mode-hook, etc. gets called twice at mode
initialisation. This is bad, since there will be, at least occasionally,
mode hooks which must not be called twice.
The cause of this is that there is an invocation of run-mode-hooks
generated by the macro define-derived-mode as well as an explicit call to
run-mode-hooks which is not at the end of the mode function.
--
Alan Mackenzie (Nuremberg, Germany).
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#16759: CC Mode modes: mode hooks are called twice. |
Date: |
9 May 2016 18:31:23 -0000 |
User-agent: |
tin/2.3.1-20141224 ("Tallant") (UNIX) (FreeBSD/10.3-RELEASE (amd64)) |
Bug fixed in the master branch.
--
Alan Mackenzie (Nuremberg, Germany).
--- End Message ---