changeset 62551:428c1f634761

(vhdl-font-lock-match-item): Simplify regexp.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 20 May 2005 13:32:33 +0000
parents 4f78132b042b
children 078b6ecd848f
files lisp/progmodes/vhdl-mode.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/vhdl-mode.el	Fri May 20 13:28:38 2005 +0000
+++ b/lisp/progmodes/vhdl-mode.el	Fri May 20 13:32:33 2005 +0000
@@ -12364,8 +12364,8 @@
 	  (save-match-data
 	    (goto-char (match-end 1))
 	    ;; move to next item
-	    (if (looking-at "\\(\\s-*,\\)")
-		(goto-char (match-end 1))
+	    (if (looking-at "\\s-*,")
+		(goto-char (match-end 0))
 	      (end-of-line) t))))
     (error t)))
 
@@ -12736,7 +12736,7 @@
 	 '(font-lock-syntactic-keywords . vhdl-font-lock-syntactic-keywords)))
   (when (fboundp 'font-lock-unset-defaults)
     (font-lock-unset-defaults))		; not implemented in XEmacs
-  (font-lock-set-defaults)
+  (font-lock-set-defaults)              ;What for?  --Stef
   (font-lock-mode nil)
   (font-lock-mode t))