aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2007-10-16 03:28:43 +0000
committerStefan Monnier2007-10-16 03:28:43 +0000
commit11fb4bdbbdab3e17e020d9ed4a6c754cdfb89167 (patch)
treec241214bf872295820a0e7f0096dce08655b04da
parentbf825c621d0239098ae36834af0cd5b0b513d6a9 (diff)
downloademacs-11fb4bdbbdab3e17e020d9ed4a6c754cdfb89167.tar.gz
emacs-11fb4bdbbdab3e17e020d9ed4a6c754cdfb89167.zip
(Fsnarf_documentation): Simplify.
-rw-r--r--src/ChangeLog4
-rw-r--r--src/doc.c10
2 files changed, 10 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4ba46df0f23..bed9166f9f0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12007-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * doc.c (Fsnarf_documentation): Simplify.
4
12007-10-14 Juanma Barranquero <lekktu@gmail.com> 52007-10-14 Juanma Barranquero <lekktu@gmail.com>
2 6
3 * w32term.c (w32_font_is_double_byte, my_create_scrollbar): Make static. 7 * w32term.c (w32_font_is_double_byte, my_create_scrollbar): Make static.
diff --git a/src/doc.c b/src/doc.c
index 25f6625d404..4cd43f0ae90 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -691,15 +691,17 @@ the same file name is found in the `doc-directory'. */)
691 if (fromfile[len-1] == 'c') 691 if (fromfile[len-1] == 'c')
692 fromfile[len-1] = 'o'; 692 fromfile[len-1] = 'o';
693 693
694 if (EQ (Fmember (build_string (fromfile), Vbuild_files), Qnil)) 694 skip_file = NILP (Fmember (build_string (fromfile),
695 skip_file = 1; 695 Vbuild_files));
696 else
697 skip_file = 0;
698 } 696 }
699 697
700 sym = oblookup (Vobarray, p + 2, 698 sym = oblookup (Vobarray, p + 2,
701 multibyte_chars_in_text (p + 2, end - p - 2), 699 multibyte_chars_in_text (p + 2, end - p - 2),
702 end - p - 2); 700 end - p - 2);
701 /* Check skip_file so that when a function is defined several
702 times in different files (typically, once in xterm, once in
703 w32term, ...), we only pay attention to the one that
704 matters. */
703 if (! skip_file && SYMBOLP (sym)) 705 if (! skip_file && SYMBOLP (sym))
704 { 706 {
705 /* Attach a docstring to a variable? */ 707 /* Attach a docstring to a variable? */