aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-05-22 22:07:57 +0000
committerRichard M. Stallman1993-05-22 22:07:57 +0000
commit2d6e26196ef3a2d49cea410b385a0fcbb20b330d (patch)
tree44a2cbe5bbe0dc2c9916b4c9c5dc58596c284926 /lib-src
parent1613b7573b2e4acd1444ca0042d1358b9a0af855 (diff)
downloademacs-2d6e26196ef3a2d49cea410b385a0fcbb20b330d.tar.gz
emacs-2d6e26196ef3a2d49cea410b385a0fcbb20b330d.zip
(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)
403 (defconst NAME VALUE DOCSTRING) 403 (defconst NAME VALUE DOCSTRING)
404 (fset (quote NAME) (make-byte-code ... DOCSTRING ...)) 404 (fset (quote NAME) (make-byte-code ... DOCSTRING ...))
405 (fset (quote NAME) #[... DOCSTRING ...]) 405 (fset (quote NAME) #[... DOCSTRING ...])
406 (defalias (quote NAME) #[... DOCSTRING ...])
406 starting in column zero. 407 starting in column zero.
407 (quote NAME) may appear as 'NAME as well. 408 (quote NAME) may appear as 'NAME as well.
408 For defun, defmacro, and autoload, we know how to skip over the arglist. 409 For defun, defmacro, and autoload, we know how to skip over the arglist.
@@ -563,7 +564,7 @@ scan_lisp_file (filename)
563 } 564 }
564 } 565 }
565 566
566 else if (! strcmp (buffer, "fset")) 567 else if (! strcmp (buffer, "fset") || ! strcmp (buffer, "defalias"))
567 { 568 {
568 char c1 = 0, c2 = 0; 569 char c1 = 0, c2 = 0;
569 type = 'F'; 570 type = 'F';