emacs-devel
[Top][All Lists]
Advanced

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

Re: font-lock and shell scripts: Raises redisplay errors in highlight pa


From: Stefan Monnier
Subject: Re: font-lock and shell scripts: Raises redisplay errors in highlight pattern:
Date: Thu, 13 Jul 2006 11:30:29 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> Error during redisplay: (error No match 6 in highlight (6
> font-lock-builtin-face))

Thanks.  Does the patch below fix your problem?


        Stefan


--- sh-script.el        04 Jul 2006 11:23:07 -0400      1.181
+++ sh-script.el        13 Jul 2006 11:28:47 -0400      
@@ -1554,7 +1554,7 @@
                         (regexp-opt (sh-feature sh-builtins) t)
                         "\\>")
                (2 font-lock-keyword-face nil t)
-               (6 font-lock-builtin-face))
+               (4 font-lock-builtin-face))
               ,@(sh-feature sh-font-lock-keywords-var-2)))
         (,(concat keywords "\\)\\>")
          2 font-lock-keyword-face)




reply via email to

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