changeset 9472:06623e3543db

* asm-mode.el: (asm-mode): Set font-lock-defaults.
author Simon Marshall <simon@gnu.org>
date Wed, 12 Oct 1994 08:06:09 +0000
parents 1b933ccf3c20
children b0cc803bf367
files lisp/progmodes/asm-mode.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/asm-mode.el	Wed Oct 12 08:04:08 1994 +0000
+++ b/lisp/progmodes/asm-mode.el	Wed Oct 12 08:06:09 1994 +0000
@@ -109,8 +109,8 @@
   (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)