Mercurial > emacs
diff lisp/progmodes/vhdl-mode.el @ 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 | a7e02ef1e3d6 |
children | f2892faa87d4 5b029ff3b08d |
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))