From a706a3bca4e676dc3b6c7bb1b4a584b085364c0c Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 29 Apr 2012 22:05:44 +0200 Subject: Fixes: debbugs:11380 * make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and byte-code forms. --- lib-src/ChangeLog | 5 +++++ lib-src/make-docfile.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'lib-src') 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 + + * make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and + byte-code forms. (Bug#11380) + 2012-04-20 Chong Yidong * 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 -- cgit v1.2.3