aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Marshall <[email protected]>1994-10-12 08:06:09 +0000
committerSimon Marshall <[email protected]>1994-10-12 08:06:09 +0000
commit788a3a2b2256c7ee64c94c4d6677ba34e124d910 (patch)
tree05f251fd71c916a5187f616ee06d4eff889cb14c
parent4b286ecae823690c3ab1d6988928a004903f4b07 (diff)
* asm-mode.el: (asm-mode): Set font-lock-defaults.
-rw-r--r--lisp/progmodes/asm-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/asm-mode.el b/lisp/progmodes/asm-mode.el
index a825fd4eca..cdf83d9fd5 100644
--- a/lisp/progmodes/asm-mode.el
+++ b/lisp/progmodes/asm-mode.el
@@ -109,8 +109,8 @@ Special commands:
(setq mode-name "Assembler")
(setq major-mode 'asm-mode)
(setq local-abbrev-table asm-mode-abbrev-table)
- (make-local-variable 'font-lock-keywords)
- (setq font-lock-keywords asm-font-lock-keywords)
+ (make-local-variable 'font-lock-defaults)
+ (setq font-lock-defaults '(asm-font-lock-keywords))
(make-local-variable 'asm-mode-syntax-table)
(setq asm-mode-syntax-table (make-syntax-table))
(set-syntax-table asm-mode-syntax-table)