changeset 2966:e936d56c2354

(scan_lisp_file): Recognize defalias like fset.
author Richard M. Stallman <rms@gnu.org>
date Sat, 22 May 1993 22:07:57 +0000
parents 5314fdcd87bc
children 6b62c36ce82e
files lib-src/make-docfile.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/make-docfile.c	Sat May 22 22:06:48 1993 +0000
+++ b/lib-src/make-docfile.c	Sat May 22 22:07:57 1993 +0000
@@ -403,6 +403,7 @@
   (defconst NAME VALUE DOCSTRING)
   (fset (quote NAME) (make-byte-code ... DOCSTRING ...))
   (fset (quote NAME) #[... DOCSTRING ...])
+  (defalias (quote NAME) #[... DOCSTRING ...])
  starting in column zero.
  (quote NAME) may appear as 'NAME as well.
  For defun, defmacro, and autoload, we know how to skip over the arglist.
@@ -563,7 +564,7 @@
 	    }
 	}
 
-      else if (! strcmp (buffer, "fset"))
+      else if (! strcmp (buffer, "fset") || ! strcmp (buffer, "defalias"))
 	{
 	  char c1 = 0, c2 = 0;
 	  type = 'F';