changeset 28401:65f19ae2c578

(scan_lisp_file): Also look for `defsubst'.
author Andreas Schwab <schwab@suse.de>
date Wed, 29 Mar 2000 21:32:12 +0000
parents 206604013d7f
children 843e552813e3
files lib-src/make-docfile.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/make-docfile.c	Wed Mar 29 21:31:40 2000 +0000
+++ b/lib-src/make-docfile.c	Wed Mar 29 21:32:12 2000 +0000
@@ -526,6 +526,7 @@
  Looks for
   (defun NAME ARGS DOCSTRING ...)
   (defmacro NAME ARGS DOCSTRING ...)
+  (defsubst NAME ARGS DOCSTRING ...)
   (autoload (quote NAME) FILE DOCSTRING ...)
   (defvar NAME VALUE DOCSTRING)
   (defconst NAME VALUE DOCSTRING)
@@ -675,7 +676,8 @@
       read_lisp_symbol (infile, buffer);
 
       if (! strcmp (buffer, "defun")
-	  || ! strcmp (buffer, "defmacro"))
+	  || ! strcmp (buffer, "defmacro")
+	  || ! strcmp (buffer, "defsubst"))
 	{
 	  type = 'F';
 	  read_lisp_symbol (infile, buffer);