diff options
| author | Stefan Monnier <monnier@iro.umontreal.ca> | 2005-05-20 13:33:13 +0000 |
|---|---|---|
| committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2005-05-20 13:33:13 +0000 |
| commit | 4e19eff09a43e290f20169b57e2b623d63a954f9 (patch) | |
| tree | bad05ebdb2e801cd13d645a9c9b5afdb8cc38ecd /lisp/progmodes/vhdl-mode.el | |
| parent | fe67016b3a575eacc0d12d7e14388fb77411d117 (diff) | |
| download | emacs-4e19eff09a43e290f20169b57e2b623d63a954f9.tar.gz | |
(vhdl-font-lock-match-item): Simplify regexp.
Diffstat (limited to 'lisp/progmodes/vhdl-mode.el')
| -rw-r--r-- | lisp/progmodes/vhdl-mode.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el index 12f04895f98..f840ef356d9 100644 --- a/lisp/progmodes/vhdl-mode.el +++ b/lisp/progmodes/vhdl-mode.el @@ -12364,8 +12364,8 @@ File statistics: \"%s\"\n\ (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 @@ This does background highlighting of translate-off regions.") '(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)) |
