diff lisp/progmodes/verilog-mode.el @ 108804:9b941507a02c

Let htmlfontify recognize face aliases (Bug#6279). * progmodes/verilog-mode.el (verilog-type-font-keywords): Use font-lock-constant-face, not obsolete font-lock-reference-face. * htmlfontify.el (hfy-face-resolve-face): New function. (hfy-face-to-style): Use it (Bug#6279).
author Chong Yidong <cyd@stupidchicken.com>
date Thu, 27 May 2010 11:28:58 -0400
parents d835100c3e8b
children bf6806de6892
line wrap: on
line diff
--- a/lisp/progmodes/verilog-mode.el	Thu May 27 16:09:18 2010 +0900
+++ b/lisp/progmodes/verilog-mode.el	Thu May 27 11:28:58 2010 -0400
@@ -2446,12 +2446,12 @@
 		 (list
 		  (concat "\\<function\\>\\s-+\\(integer\\|real\\(time\\)?\\|time\\)\\s-+\\(\\sw+\\)" )
 		       '(1 font-lock-keyword-face)
-		       '(3 font-lock-reference-face prepend))
+		       '(3 font-lock-constant-face prepend))
 		 '("\\<function\\>\\s-+\\(\\[[^]]+\\]\\)\\s-+\\(\\sw+\\)"
 		   (1 font-lock-keyword-face)
-		   (2 font-lock-reference-face append))
+		   (2 font-lock-constant-face append))
 		 '("\\<function\\>\\s-+\\(\\sw+\\)"
-		   1 'font-lock-reference-face append))))
+		   1 'font-lock-constant-face append))))
 
   (setq verilog-font-lock-keywords-2
 	(append verilog-font-lock-keywords-1