X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/b14e3e21ec6702d27257a1400681fc36ee10282f..66d556b5187d768bbd233513b54dcb4beaa90c6d:/lisp/progmodes/asm-mode.el diff --git a/lisp/progmodes/asm-mode.el b/lisp/progmodes/asm-mode.el index 9d79d22d42..40c2b771a1 100644 --- a/lisp/progmodes/asm-mode.el +++ b/lisp/progmodes/asm-mode.el @@ -1,9 +1,9 @@ ;;; asm-mode.el --- mode for editing assembler code -;; Copyright (C) 1991, 2001-2011 Free Software Foundation, Inc. +;; Copyright (C) 1991, 2001-2016 Free Software Foundation, Inc. ;; Author: Eric S. Raymond -;; Maintainer: FSF +;; Maintainer: emacs-devel@gnu.org ;; Keywords: tools, languages ;; This file is part of GNU Emacs. @@ -53,7 +53,7 @@ :group 'languages) (defcustom asm-comment-char ?\; - "*The comment-start character assumed by Asm mode." + "The comment-start character assumed by Asm mode." :type 'character :group 'asm) @@ -90,7 +90,7 @@ "Keymap for Asm mode.") (defconst asm-font-lock-keywords - (append + (append '(("^\\(\\(\\sw\\|\\s_\\)+\\)\\>:?[ \t]*\\(\\sw+\\(\\.\\sw+\\)*\\)?" (1 font-lock-function-name-face) (3 font-lock-keyword-face nil t)) ;; label started from ".". @@ -172,7 +172,7 @@ Special commands: ;; Simple `;' comments go to the comment-column. (and (looking-at "\\s<\\(\\S<\\|\\'\\)") comment-column) ;; The rest goes at the first tab stop. - (or (car tab-stop-list) tab-width))) + (or (indent-next-tab-stop 0)))) (defun asm-colon () "Insert a colon; if it follows a label, delete the label's indentation."