Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] font-lock typo in caml-font.el [patch]
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Guillaume Marceau <gmarceau@c...>
Subject: [Caml-list] font-lock typo in caml-font.el [patch]

the 'end' keyword was being hilited in the middle of words. 
Particularly anoying for print_endline, so I fix it.

Here's the patch

*** /home/gmarceau/lisp/ocaml/caml-font.el	Sat Feb 17 23:03:27 2001
--- /usr/share/emacs/site-lisp/caml-font.el	Sat Feb 17 23:31:16 2001
***************
*** 54,60 ****
            "\\|v\\(al\\(ue\\)?\\|irtual\\)\\)\\>")
           'font-lock-type-face)
  ;blocking
!    '("\\<begin\\|end\\|object\\|s\\(ig\\|truct\\)\\>" . font-lock-keyword-face)
  ;control
     (cons (concat
            "\\<\\(do\\(ne\\|wnto\\)?\\|else\\|for\\|if"
--- 54,60 ----
            "\\|v\\(al\\(ue\\)?\\|irtual\\)\\)\\>")
           'font-lock-type-face)
  ;blocking
!    '("\\<\\(begin\\|end\\|object\\|s\\(ig\\|truct\\)\\)\\>" . font-lock-keyword-face)
  ;control
     (cons (concat
            "\\<\\(do\\(ne\\|wnto\\)?\\|else\\|for\\|if"

-- 
This is almost a sig, but not quite. Guillaume
-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr