From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Feng Li Newsgroups: gmane.emacs.devel Subject: Fixing a bug in pascal-mode Date: Sun, 06 Apr 2014 17:19:06 +1000 Message-ID: <868urjncwl.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1396768791 5843 80.91.229.3 (6 Apr 2014 07:19:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Apr 2014 07:19:51 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 06 09:19:44 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WWhMk-00019O-St for ged-emacs-devel@m.gmane.org; Sun, 06 Apr 2014 09:19:43 +0200 Original-Received: from localhost ([::1]:57150 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWhMk-0001KD-D2 for ged-emacs-devel@m.gmane.org; Sun, 06 Apr 2014 03:19:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWhMa-0001HJ-F8 for emacs-devel@gnu.org; Sun, 06 Apr 2014 03:19:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWhMS-0005Vr-VZ for emacs-devel@gnu.org; Sun, 06 Apr 2014 03:19:32 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:38467) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWhMS-0005Uq-PD for emacs-devel@gnu.org; Sun, 06 Apr 2014 03:19:24 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WWhMQ-0000qL-LE for emacs-devel@gnu.org; Sun, 06 Apr 2014 09:19:22 +0200 Original-Received: from 202.172.124.5 ([202.172.124.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Apr 2014 09:19:22 +0200 Original-Received: from fengli by 202.172.124.5 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Apr 2014 09:19:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 202.172.124.5 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) Cancel-Lock: sha1:U8B24/g3TWN6QDwO3Uzx9Z1VWI8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:171317 Archived-At: Hi Emacs devs, I just fixed a small bug in pascal-mode. Here's the diff diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el index a693295..4058826 100644 --- a/lisp/progmodes/pascal.el +++ b/lisp/progmodes/pascal.el @@ -168,7 +168,7 @@ ;; "record" "array" "file") (,(concat "\\<\\(array\\|boolean\\|c\\(har\\|onst\\)\\|file\\|" "integer\\|re\\(al\\|cord\\)\\|type\\|var\\)\\>") - font-lock-type-face) + . font-lock-type-face) ("\\<\\(label\\|external\\|forward\\)\\>" . font-lock-constant-face) ("\\<\\([0-9]+\\)[ \t]*:" 1 font-lock-function-name-face) ;; ("of" "to" "for" "if" "then" "else" "case" "while" -- Feng Li