mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-07 04:10:27 -08:00
(Fsnarf_documentation): Simplify.
This commit is contained in:
parent
bf825c621d
commit
11fb4bdbbd
2 changed files with 10 additions and 4 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2007-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* doc.c (Fsnarf_documentation): Simplify.
|
||||
|
||||
2007-10-14 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* w32term.c (w32_font_is_double_byte, my_create_scrollbar): Make static.
|
||||
|
|
|
|||
10
src/doc.c
10
src/doc.c
|
|
@ -691,15 +691,17 @@ the same file name is found in the `doc-directory'. */)
|
|||
if (fromfile[len-1] == 'c')
|
||||
fromfile[len-1] = 'o';
|
||||
|
||||
if (EQ (Fmember (build_string (fromfile), Vbuild_files), Qnil))
|
||||
skip_file = 1;
|
||||
else
|
||||
skip_file = 0;
|
||||
skip_file = NILP (Fmember (build_string (fromfile),
|
||||
Vbuild_files));
|
||||
}
|
||||
|
||||
sym = oblookup (Vobarray, p + 2,
|
||||
multibyte_chars_in_text (p + 2, end - p - 2),
|
||||
end - p - 2);
|
||||
/* Check skip_file so that when a function is defined several
|
||||
times in different files (typically, once in xterm, once in
|
||||
w32term, ...), we only pay attention to the one that
|
||||
matters. */
|
||||
if (! skip_file && SYMBOLP (sym))
|
||||
{
|
||||
/* Attach a docstring to a variable? */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue