From 34e778a67df7e5c91e2d5b2d51ff6367b2c4b4ae Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 29 Mar 2000 21:32:12 +0000 Subject: [PATCH] (scan_lisp_file): Also look for `defsubst'. --- lib-src/make-docfile.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c index 84c0c9d113d..df557e7edb4 100644 --- a/lib-src/make-docfile.c +++ b/lib-src/make-docfile.c @@ -526,6 +526,7 @@ scan_c_file (filename, mode) 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 @@ scan_lisp_file (filename, mode) 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); -- 2.39.5