[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: occur-mode-hook run too early to be useful
From: |
Juanma Barranquero |
Subject: |
Re: occur-mode-hook run too early to be useful |
Date: |
Wed, 28 Aug 2002 17:30:31 +0200 |
On Wed, 28 Aug 2002 17:25:56 +0200, I wrote:
> Not only is not very compelling, it doesn't work right now with
> occur-mode :)
>
> (After adding an interactive declaration to occur-mode:)
>
> M-x occur "whatever"
> C-x o
> M-x text-mode
> M-x occur-mode
>
> and the font-locking isn't right.
Oops, stupid me. That's not true. It's *me* who just broke that, by
taking 'turn-on-font-lock from the now-nonexistant `occur-mode-hook' and
putting it into `occur-hook'.
So: Is that use worth putting back occur-mode-hook and having two hooks?
/L/e/k/t/u