[Top][All Lists]

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

Re: bug#347: C mode asks twice about local variables

From: Alan Mackenzie
Subject: Re: bug#347: C mode asks twice about local variables
Date: Sat, 26 Jul 2008 10:44:34 +0000
User-agent: Mutt/1.5.9i

Hi, Stefan!

On Sun, Jun 15, 2008 at 10:04:12PM +0000, Alan Mackenzie wrote:
> 'Evening, Stefan and Glenn!

[ Followed by a patch to cc-mode.el and files.el which would introduce a
new hook, before-hack-local-variables-hook, with this ChangeLog entry.]

> 2008-06-15  Alan Mackenzie  <address@hidden>

>       * progmodes/cc-mode.el (c-before-hack-hook): New function
>       (Top Level): Install c-before-hack-hook on
>       before-hack-local-variables-hook, rather than
>       c-postprocess-file-styles on hack-local-variables-hook.

>       * files.el (hack-local-variables-alist): New variable.
>       (before-hack-local-variables-hook): New hook.
>       (hack-local-variables-filter): Refactored version of
>       Hack-local-variables-apply.
>       (hack-local-variables): Call `before-hack-local-variables-hook'.

You haven't got round to replying yet!  We have a feature freeze in a
very few days.

This patch would solve the problem of the double question.  Shall I
install this (and write some Docu)?

Alan Mackenzie (Nuremberg, Germany).

reply via email to

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