aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.c
diff options
context:
space:
mode:
authorMiles Bader2007-10-19 00:00:21 +0000
committerMiles Bader2007-10-19 00:00:21 +0000
commit9c8020a8df03dc67a56d7df15664dcf7ace54bf0 (patch)
tree09b0646addff3c39f9e96ba89c04bdcc038a87a7 /src/doc.c
parentdfc3268dfa133a2e0a677f1af7c1ee548eae065d (diff)
parentbd3164743080f3eb5fc316aca7cc5322ca58fe33 (diff)
downloademacs-9c8020a8df03dc67a56d7df15664dcf7ace54bf0.tar.gz
emacs-9c8020a8df03dc67a56d7df15664dcf7ace54bf0.zip
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 890-898) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 122-128) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 257-258) - Merge from emacs--rel--22 - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-270
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/doc.c b/src/doc.c
index 3b335127a75..f491661a616 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -693,15 +693,17 @@ the same file name is found in the `doc-directory'. */)
693 if (fromfile[len-1] == 'c') 693 if (fromfile[len-1] == 'c')
694 fromfile[len-1] = 'o'; 694 fromfile[len-1] = 'o';
695 695
696 if (EQ (Fmember (build_string (fromfile), Vbuild_files), Qnil)) 696 skip_file = NILP (Fmember (build_string (fromfile),
697 skip_file = 1; 697 Vbuild_files));
698 else
699 skip_file = 0;
700 } 698 }
701 699
702 sym = oblookup (Vobarray, p + 2, 700 sym = oblookup (Vobarray, p + 2,
703 multibyte_chars_in_text (p + 2, end - p - 2), 701 multibyte_chars_in_text (p + 2, end - p - 2),
704 end - p - 2); 702 end - p - 2);
703 /* Check skip_file so that when a function is defined several
704 times in different files (typically, once in xterm, once in
705 w32term, ...), we only pay attention to the one that
706 matters. */
705 if (! skip_file && SYMBOLP (sym)) 707 if (! skip_file && SYMBOLP (sym))
706 { 708 {
707 /* Attach a docstring to a variable? */ 709 /* Attach a docstring to a variable? */