emacs-devel
[Top][All Lists]
Advanced

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

Re: regexp does not work as documented


From: Bruno Haible
Subject: Re: regexp does not work as documented
Date: Tue, 6 May 2008 23:29:05 +0200
User-agent: KMail/1.5.4

Stefan Monnier wrote:
> Actually, font-lock-fontified is most likely set to t, so
> hi-lock-set-pattern doesn't call re-sarch-forward at all and only calls
> font-lock-fontify-buffer instead.

You're right: If I do a
  M-x evaluate-expression  (setq font-lock-fontify-buffer nil)
before
  M-x highlight-regexp
the result is correct. So the problem is indeed with the font-locking.

Bruno





reply via email to

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