aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorAndreas Schwab <[email protected]>2012-04-29 22:05:44 +0200
committerAndreas Schwab <[email protected]>2012-04-29 22:05:44 +0200
commita706a3bca4e676dc3b6c7bb1b4a584b085364c0c (patch)
tree5dc7e8005feafdc409111dba689d84c10da9434d /lib-src
parentc93b886f957b55df4fe45d986c34242832ec4a28 (diff)
Fixes: debbugs:11380
* make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and byte-code forms.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog5
-rw-r--r--lib-src/make-docfile.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index fc6d905cfb..d225b77f15 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,8 @@
+2012-04-29 Andreas Schwab <[email protected]>
+
+ * make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and
+ byte-code forms. (Bug#11380)
+
2012-04-20 Chong Yidong <[email protected]>
* emacsclient.c (decode_options): Move -t -n corner case handling
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index 3e79cae4f4..b33b13f34c 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -1361,7 +1361,7 @@ scan_lisp_file (const char *filename, const char *mode)
#ifdef DEBUG
else if (! strcmp (buffer, "if")
|| ! strcmp (buffer, "byte-code"))
- ;
+ continue;
#endif
else