emacs-devel
[Top][All Lists]
Advanced

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

Re: Please try this!


From: Sascha Wilde
Subject: Re: Please try this!
Date: Fri, 02 Jun 2006 18:24:41 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Richard Stallman <address@hidden> wrote:

> We have papers for this change now.  Would people please try it
> and send me your comments?  Is there any problem in installing it?

After fixing it (see below) I had no further problems with it.  I only
had a quick glance at it, but it seems to work.

[...]
@@ -1019,11 +1088,12 @@
     (")" 0 (sh-font-lock-paren (match-beginning 0)))))
 
 (defun sh-font-lock-syntactic-face-function (state)
-  (if (nth 3 state)
-      (if (char-valid-p (nth 3 state))
-         font-lock-string-face
-       sh-heredoc-face)
-    font-lock-comment-face))
+  (let ((q (nth 3 state)))
+    (if q
+        (if (char-valid-p q)
+            (if (eq q ?\`) 'sh-quoted-exec font-lock-string-face)
+          sh-heredoc-face)
+      font-lock-comment-face))
                               ^
here is a closing parenthesis missing!

cheers
sascha 
-- 
Sascha Wilde : "Do not dangle the mouse by its cable 
             : or throw the mouse at co-workers"
             : (sgi - Indigo2 Workstation Owner's Guide)




reply via email to

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