diff options
| author | Nick Roberts | 2004-10-23 22:04:13 +0000 |
|---|---|---|
| committer | Nick Roberts | 2004-10-23 22:04:13 +0000 |
| commit | f4733d22e6a661fa8510bd684c3d8907f51ea4b2 (patch) | |
| tree | 105f2c77dd97301c52ecb44c7f4e21eec1ae566e | |
| parent | fad137cd631f6a5f3b6ff58540a740444792a1f0 (diff) | |
| download | emacs-f4733d22e6a661fa8510bd684c3d8907f51ea4b2.tar.gz emacs-f4733d22e6a661fa8510bd684c3d8907f51ea4b2.zip | |
(asm-font-lock-keywords): Use font-lock-variable-name-face for registers.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/progmodes/asm-mode.el | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d4d95d30dcd..b70c174cf76 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | 2004-10-24 Masatake YAMATO <jet@gyve.org> | 1 | 2004-10-24 Masatake YAMATO <jet@gyve.org> |
| 2 | 2 | ||
| 3 | * progmodes/asm-mode.el: Use font-lock-variable-name-face for | 3 | * progmodes/asm-mode.el (asm-font-lock-keywords): Use |
| 4 | registers. | 4 | font-lock-variable-name-face for registers. |
| 5 | 5 | ||
| 6 | 2004-10-24 Nick Roberts <nickrob@snap.net.nz> | 6 | 2004-10-24 Nick Roberts <nickrob@snap.net.nz> |
| 7 | 7 | ||
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 @@ | |||
| 90 | 2 font-lock-keyword-face) | 90 | 2 font-lock-keyword-face) |
| 91 | ;; directive started from ".". | 91 | ;; directive started from ".". |
| 92 | ("^\\(\\.\\(\\sw\\|\\s_\\)+\\)\\>[^:]?" | 92 | ("^\\(\\.\\(\\sw\\|\\s_\\)+\\)\\>[^:]?" |
| 93 | 1 font-lock-keyword-face)) | 93 | 1 font-lock-keyword-face) |
| 94 | ;; %register | ||
| 95 | ("%\\sw+" . font-lock-variable-name-face)) | ||
| 94 | "Additional expressions to highlight in Assembler mode.") | 96 | "Additional expressions to highlight in Assembler mode.") |
| 95 | 97 | ||
| 96 | ;;;###autoload | 98 | ;;;###autoload |