summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2000-03-29 21:32:12 +0000
committerAndreas Schwab <schwab@suse.de>2000-03-29 21:32:12 +0000
commitf6858d070a054b7858a90612fe33163bee73da02 (patch)
treef3a6fdca5cdcf8aa5db610f210edc03035655139 /lib-src
parent68d214c3b9afc7ec1c80ada44ae174e448c9e5df (diff)
downloademacs-f6858d070a054b7858a90612fe33163bee73da02.tar.gz
(scan_lisp_file): Also look for `defsubst'.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/make-docfile.c4
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);