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

Bug#312212: tuareg-mode: Problem with font-lock



Package: tuareg-mode
Version: 1.45.0-beta1-2
Severity: normal
Tags: patch

Since one of the recent upgrade of tuareg-mode, I have lost part of
the coloration of ocaml file: the keyword (like let, module,
struct...) have the default color, and are not the face for
keyword. I have a patch for it.


--- tuareg-mode-1.45.0/tuareg.el    2005-06-01 22:13:33.000000000 +0200
+++ /home/moi/lang/elisp/tuareg.el      2005-06-06 12:07:22.480736232 +0200
@@ -391,7 +391,7 @@

 (defface tuareg-font-lock-governing-face
   (if tuareg-faces-inherit-p
-      '((t :inherit font-lock-keywords-face))
+      '((t :inherit font-lock-keyword-face))
     '((((background light)) (:foreground "darkorange3" :bold t))
       (t (:foreground "orange" :bold t))))
   "Face description for governing/leading keywords."


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.10-1-k7
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages tuareg-mode depends on:
ii  emacs21 [emacsen]             21.4a-1    The GNU Emacs editor

-- no debconf information

-- 
Rémi Vanicat


Reply to: