From: Nick Roberts Date: Sat, 23 Oct 2004 22:04:13 +0000 (+0000) Subject: (asm-font-lock-keywords): Use font-lock-variable-name-face for registers. X-Git-Tag: ttn-vms-21-2-B4~4430 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f4733d22e6a661fa8510bd684c3d8907f51ea4b2;p=emacs.git (asm-font-lock-keywords): Use font-lock-variable-name-face for registers. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d4d95d30dcd..b70c174cf76 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,7 +1,7 @@ 2004-10-24 Masatake YAMATO - * progmodes/asm-mode.el: Use font-lock-variable-name-face for - registers. + * progmodes/asm-mode.el (asm-font-lock-keywords): Use + font-lock-variable-name-face for registers. 2004-10-24 Nick Roberts diff --git a/lisp/progmodes/asm-mode.el b/lisp/progmodes/asm-mode.el index 76d12aa6f6e..17cb7c78316 100644 --- a/lisp/progmodes/asm-mode.el +++ b/lisp/progmodes/asm-mode.el @@ -90,7 +90,9 @@ 2 font-lock-keyword-face) ;; directive started from ".". ("^\\(\\.\\(\\sw\\|\\s_\\)+\\)\\>[^:]?" - 1 font-lock-keyword-face)) + 1 font-lock-keyword-face) + ;; %register + ("%\\sw+" . font-lock-variable-name-face)) "Additional expressions to highlight in Assembler mode.") ;;;###autoload