diff options
author | Dan Nicolaescu <[email protected]> | 2008-03-03 20:31:04 +0000 |
---|---|---|
committer | Dan Nicolaescu <[email protected]> | 2008-03-03 20:31:04 +0000 |
commit | b1d0fc86691f60c187264b6bb90def845a62611c (patch) | |
tree | 9bf9c2e27c4b8927898f3f3f06a01fc7311617da /lisp/progmodes | |
parent | 70f6d79619dea7b743c879389bc6dd89553a0a25 (diff) |
(verilog-highlight-grouping-keywords):
Fix typo.
(verilog-type-font-keywords): Reindent.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r-- | lisp/progmodes/verilog-mode.el | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el index 78376f861f..b24ccdc5ba 100644 --- a/lisp/progmodes/verilog-mode.el +++ b/lisp/progmodes/verilog-mode.el @@ -538,7 +538,7 @@ If false, these words are in the font-lock-type-face; if True then they are in grouping constructs allow the structure of the code to be understood at a glance." :group 'verilog-mode-indent :type 'boolean) -(put 'verilog-highlight-p1800-keywords 'safe-local-variable verilog-booleanp) +(put 'verilog-highlight-grouping-keywords 'safe-local-variable 'verilog-booleanp) (defcustom verilog-auto-endcomments t "*True means insert a comment /* ... */ after 'end's. @@ -1910,15 +1910,15 @@ See also `verilog-font-lock-extra-types'.") ;; And user/system tasks and functions "\\$[a-zA-Z][a-zA-Z0-9_\\$]*" "\\)\\>") - ;; Fontify all types - (if verilog-highlight-grouping-keywords - (cons (concat "\\<\\(" verilog-font-grouping-keywords "\\)\\>") - 'verilog-font-lock-ams-face) - (cons (concat "\\<\\(" verilog-font-grouping-keywords "\\)\\>") - 'font-lock-type-face)) - (cons (concat "\\<\\(" verilog-type-font-keywords "\\)\\>") + ;; Fontify all types + (if verilog-highlight-grouping-keywords + (cons (concat "\\<\\(" verilog-font-grouping-keywords "\\)\\>") + 'verilog-font-lock-ams-face) + (cons (concat "\\<\\(" verilog-font-grouping-keywords "\\)\\>") + 'font-lock-type-face)) + (cons (concat "\\<\\(" verilog-type-font-keywords "\\)\\>") 'font-lock-type-face) - ;; Fontify IEEE-P1800 keywords appropriately + ;; Fontify IEEE-P1800 keywords appropriately (if verilog-highlight-p1800-keywords (cons (concat "\\<\\(" verilog-p1800-keywords "\\)\\>") 'verilog-font-lock-p1800-face) |