emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master ddc8c2c 1/2: Small cleanups in asm-mode.el (Bug#365


From: Basil L. Contovounesios
Subject: [Emacs-diffs] master ddc8c2c 1/2: Small cleanups in asm-mode.el (Bug#36540)
Date: Wed, 10 Jul 2019 10:00:18 -0400 (EDT)

branch: master
commit ddc8c2c298d99bc084523786e5deac5ea2e6ee84
Author: Stefan Kangas <address@hidden>
Commit: Basil L. Contovounesios <address@hidden>

    Small cleanups in asm-mode.el (Bug#36540)
    
    * lisp/progmodes/asm-mode.el: Remove "tools" from "Keywords" header.
    Doc fixes.
    (asm-comment-char, asm-comment): Doc fixes.
    (asm-newline): Redefine as an obsolete function alias for
    'newline-and-indent' instead of using a defalias.
---
 lisp/progmodes/asm-mode.el | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/lisp/progmodes/asm-mode.el b/lisp/progmodes/asm-mode.el
index c56d16e..5390ef7 100644
--- a/lisp/progmodes/asm-mode.el
+++ b/lisp/progmodes/asm-mode.el
@@ -4,7 +4,7 @@
 
 ;; Author: Eric S. Raymond <address@hidden>
 ;; Maintainer: address@hidden
-;; Keywords: tools, languages
+;; Keywords: languages
 
 ;; This file is part of GNU Emacs.
 
@@ -26,7 +26,7 @@
 ;; This mode was written by Eric S. Raymond <address@hidden>,
 ;; inspired by an earlier asm-mode by Martin Neitzel.
 
-;; This minor mode is based on text mode.  It defines a private abbrev table
+;; This major mode is based on prog mode.  It defines a private abbrev table
 ;; that can be used to save abbrevs for assembler mnemonics.  It binds just
 ;; five keys:
 ;;
@@ -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)
 
@@ -187,14 +187,13 @@ Special commands:
       (delete-horizontal-space)
       (tab-to-tab-stop))))
 
-;; Obsolete since Emacs-22.1.
-(defalias 'asm-newline 'newline-and-indent)
+(define-obsolete-function-alias 'asm-newline 'newline-and-indent "27.1")
 
 (defun asm-comment ()
   "Convert an empty comment to a `larger' kind, or start a new one.
 These are the known comment classes:
 
-   1 -- comment to the right of the code (at the comment-column)
+   1 -- comment to the right of the code (at the `comment-column')
    2 -- comment on its own line, indented like code
    3 -- comment on its own line, beginning at the left-most column.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]