diff options
author | Andreas Schwab <schwab@suse.de> | 2000-03-29 21:32:12 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2000-03-29 21:32:12 +0000 |
commit | f6858d070a054b7858a90612fe33163bee73da02 (patch) | |
tree | f3a6fdca5cdcf8aa5db610f210edc03035655139 /lib-src | |
parent | 68d214c3b9afc7ec1c80ada44ae174e448c9e5df (diff) | |
download | emacs-f6858d070a054b7858a90612fe33163bee73da02.tar.gz |
(scan_lisp_file): Also look for `defsubst'.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/make-docfile.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |