From: Andreas Schwab Date: Wed, 29 Mar 2000 21:32:12 +0000 (+0000) Subject: (scan_lisp_file): Also look for `defsubst'. X-Git-Tag: emacs-pretest-21.0.90~4424 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=34e778a67df7e5c91e2d5b2d51ff6367b2c4b4ae;p=emacs.git (scan_lisp_file): Also look for `defsubst'. --- 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);