caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Guillaume Marceau <gmarceau@cim.mcgill.ca>
To: gmarceau@nez-perce.inria.fr
Subject: [Caml-list] font-lock typo in caml-font.el [patch]
Date: Sun, 18 Feb 2001 16:18:15 -0500	[thread overview]
Message-ID: <20010218211854.IJLZ18941.tomts5-srv.bellnexxia.net@holland.dynodns.net> (raw)


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


                 reply	other threads:[~2001-02-24 16:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010218211854.IJLZ18941.tomts5-srv.bellnexxia.net@holland.dynodns.net \
    --to=gmarceau@cim.mcgill.ca \
    --cc=gmarceau@nez-perce.inria.fr \
    --cc=gmarceau@please.dont.spam.me.cim.mcgill.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).