diff options
| -rw-r--r-- | lisp/progmodes/asm-mode.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/progmodes/asm-mode.el b/lisp/progmodes/asm-mode.el index c56d16e305e..5390ef7cd2a 100644 --- a/lisp/progmodes/asm-mode.el +++ b/lisp/progmodes/asm-mode.el | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | ;; Author: Eric S. Raymond <esr@snark.thyrsus.com> | 5 | ;; Author: Eric S. Raymond <esr@snark.thyrsus.com> |
| 6 | ;; Maintainer: emacs-devel@gnu.org | 6 | ;; Maintainer: emacs-devel@gnu.org |
| 7 | ;; Keywords: tools, languages | 7 | ;; Keywords: languages |
| 8 | 8 | ||
| 9 | ;; This file is part of GNU Emacs. | 9 | ;; This file is part of GNU Emacs. |
| 10 | 10 | ||
| @@ -26,7 +26,7 @@ | |||
| 26 | ;; This mode was written by Eric S. Raymond <esr@snark.thyrsus.com>, | 26 | ;; This mode was written by Eric S. Raymond <esr@snark.thyrsus.com>, |
| 27 | ;; inspired by an earlier asm-mode by Martin Neitzel. | 27 | ;; inspired by an earlier asm-mode by Martin Neitzel. |
| 28 | 28 | ||
| 29 | ;; This minor mode is based on text mode. It defines a private abbrev table | 29 | ;; This major mode is based on prog mode. It defines a private abbrev table |
| 30 | ;; that can be used to save abbrevs for assembler mnemonics. It binds just | 30 | ;; that can be used to save abbrevs for assembler mnemonics. It binds just |
| 31 | ;; five keys: | 31 | ;; five keys: |
| 32 | ;; | 32 | ;; |
| @@ -53,7 +53,7 @@ | |||
| 53 | :group 'languages) | 53 | :group 'languages) |
| 54 | 54 | ||
| 55 | (defcustom asm-comment-char ?\; | 55 | (defcustom asm-comment-char ?\; |
| 56 | "The comment-start character assumed by Asm mode." | 56 | "The `comment-start' character assumed by Asm mode." |
| 57 | :type 'character | 57 | :type 'character |
| 58 | :group 'asm) | 58 | :group 'asm) |
| 59 | 59 | ||
| @@ -187,14 +187,13 @@ Special commands: | |||
| 187 | (delete-horizontal-space) | 187 | (delete-horizontal-space) |
| 188 | (tab-to-tab-stop)))) | 188 | (tab-to-tab-stop)))) |
| 189 | 189 | ||
| 190 | ;; Obsolete since Emacs-22.1. | 190 | (define-obsolete-function-alias 'asm-newline 'newline-and-indent "27.1") |
| 191 | (defalias 'asm-newline 'newline-and-indent) | ||
| 192 | 191 | ||
| 193 | (defun asm-comment () | 192 | (defun asm-comment () |
| 194 | "Convert an empty comment to a `larger' kind, or start a new one. | 193 | "Convert an empty comment to a `larger' kind, or start a new one. |
| 195 | These are the known comment classes: | 194 | These are the known comment classes: |
| 196 | 195 | ||
| 197 | 1 -- comment to the right of the code (at the comment-column) | 196 | 1 -- comment to the right of the code (at the `comment-column') |
| 198 | 2 -- comment on its own line, indented like code | 197 | 2 -- comment on its own line, indented like code |
| 199 | 3 -- comment on its own line, beginning at the left-most column. | 198 | 3 -- comment on its own line, beginning at the left-most column. |
| 200 | 199 | ||