summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-05-22 22:07:57 +0000
committerRichard M. Stallman <rms@gnu.org>1993-05-22 22:07:57 +0000
commita632948d514440f168010c00cb8f26663524ecdb (patch)
tree803c441b117926b8105d51cee9a36d9c58d58daf /lib-src
parent9850691052c14422dfd1629cb4763e31b98f9c28 (diff)
downloademacs-a632948d514440f168010c00cb8f26663524ecdb.tar.gz
(scan_lisp_file): Recognize defalias like fset.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/make-docfile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index 62ccfe9460b..04b05f55eb0 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -403,6 +403,7 @@ scan_c_file (filename)
(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 @@ scan_lisp_file (filename)
}
}
- else if (! strcmp (buffer, "fset"))
+ else if (! strcmp (buffer, "fset") || ! strcmp (buffer, "defalias"))
{
char c1 = 0, c2 = 0;
type = 'F';