diff options
| author | Richard M. Stallman | 1992-07-16 21:43:09 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1992-07-16 21:43:09 +0000 |
| commit | 15ece07de68c1f207364242181d3c1f209b5beea (patch) | |
| tree | 39b345b1677c4a354572b72465157abf01e0beea | |
| parent | c29118da51e3889045dc4e4ef851c5c07ef7a2b2 (diff) | |
| download | emacs-15ece07de68c1f207364242181d3c1f209b5beea.tar.gz emacs-15ece07de68c1f207364242181d3c1f209b5beea.zip | |
*** empty log message ***
| -rw-r--r-- | lisp/progmodes/asm-mode.el | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/lisp/progmodes/asm-mode.el b/lisp/progmodes/asm-mode.el index 55202cd63aa..d258475aef1 100644 --- a/lisp/progmodes/asm-mode.el +++ b/lisp/progmodes/asm-mode.el | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | 6 | ||
| 7 | ;; GNU Emacs is free software; you can redistribute it and/or modify | 7 | ;; GNU Emacs is free software; you can redistribute it and/or modify |
| 8 | ;; it under the terms of the GNU General Public License as published by | 8 | ;; it under the terms of the GNU General Public License as published by |
| 9 | ;; the Free Software Foundation; either version 1, or (at your option) | 9 | ;; the Free Software Foundation; either version 2, or (at your option) |
| 10 | ;; any later version. | 10 | ;; any later version. |
| 11 | 11 | ||
| 12 | ;; GNU Emacs is distributed in the hope that it will be useful, | 12 | ;; GNU Emacs is distributed in the hope that it will be useful, |
| @@ -58,9 +58,7 @@ | |||
| 58 | (define-key asm-mode-map ";" 'asm-comment) | 58 | (define-key asm-mode-map ";" 'asm-comment) |
| 59 | (define-key asm-mode-map ":" 'asm-colon) | 59 | (define-key asm-mode-map ":" 'asm-colon) |
| 60 | (define-key asm-mode-map "\C-i" 'tab-to-tab-stop) | 60 | (define-key asm-mode-map "\C-i" 'tab-to-tab-stop) |
| 61 | (define-key asm-mode-map "\C-j" 'asm-newline) | 61 | (define-key asm-mode-map "\C-j" 'asm-newline)) |
| 62 | (define-key asm-mode-map "\C-m" 'asm-newline) | ||
| 63 | ) | ||
| 64 | 62 | ||
| 65 | (defvar asm-code-level-empty-comment-pattern nil) | 63 | (defvar asm-code-level-empty-comment-pattern nil) |
| 66 | (defvar asm-flush-left-empty-comment-pattern nil) | 64 | (defvar asm-flush-left-empty-comment-pattern nil) |
| @@ -69,7 +67,7 @@ | |||
| 69 | ;;;###autoload | 67 | ;;;###autoload |
| 70 | (defun asm-mode () | 68 | (defun asm-mode () |
| 71 | "Major mode for editing typical assembler code. | 69 | "Major mode for editing typical assembler code. |
| 72 | Features a private asm-mode-abbrev-table and the following bindings: | 70 | Features a private abbrev table and the following bindings: |
| 73 | 71 | ||
| 74 | \\[asm-colon]\toutdent a preceding label, tab to next tab stop. | 72 | \\[asm-colon]\toutdent a preceding label, tab to next tab stop. |
| 75 | \\[tab-to-tab-stop]\ttab to next tab stop. | 73 | \\[tab-to-tab-stop]\ttab to next tab stop. |
| @@ -77,13 +75,13 @@ Features a private asm-mode-abbrev-table and the following bindings: | |||
| 77 | \\[asm-comment]\tsmart placement of assembler comments. | 75 | \\[asm-comment]\tsmart placement of assembler comments. |
| 78 | 76 | ||
| 79 | The character used for making comments is set by the variable | 77 | The character used for making comments is set by the variable |
| 80 | asm-comment-char (which defaults to ?;). You may want to set this | 78 | `asm-comment-char' (which defaults to `;'). You may want to set this |
| 81 | appropriately for the assembler on your machine in defaults.el. | 79 | appropriately for the assembler on your machine in `defaults.el'. |
| 82 | 80 | ||
| 83 | Alternatively, you may set this variable in asm-set-comment-hook, which is | 81 | Alternatively, you may set this variable in `asm-set-comment-hook', which is |
| 84 | called near the beginning of mode initialization. | 82 | called near the beginning of mode initialization. |
| 85 | 83 | ||
| 86 | Turning on asm-mode calls the value of the variable asm-mode-hook, | 84 | Turning on `asm-mode' calls the value of the variable `asm-mode-hook', |
| 87 | if that value is non-nil, at the end of initialization. | 85 | if that value is non-nil, at the end of initialization. |
| 88 | 86 | ||
| 89 | Special commands:\\{asm-mode-map} | 87 | Special commands:\\{asm-mode-map} |