aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.c
diff options
context:
space:
mode:
authorKenichi Handa2004-04-16 12:51:06 +0000
committerKenichi Handa2004-04-16 12:51:06 +0000
commit6b61353c0a0320ee15bb6488149735381fed62ec (patch)
treee69adba60e504a5a37beb556ad70084de88a7aab /src/doc.c
parentdc6a28319312fe81f7a1015e363174022313f0bd (diff)
downloademacs-6b61353c0a0320ee15bb6488149735381fed62ec.tar.gz
emacs-6b61353c0a0320ee15bb6488149735381fed62ec.zip
Sync to HEAD
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/doc.c b/src/doc.c
index af5707474c7..e670ad1797a 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -1,5 +1,6 @@
1/* Record indices of function doc strings stored in a file. 1/* Record indices of function doc strings stored in a file.
2 Copyright (C) 1985, 86,93,94,95,97,98,99, 2000 Free Software Foundation, Inc. 2 Copyright (C) 1985, 86,93,94,95,97,98,99,2000,04
3 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
@@ -612,8 +613,7 @@ the same file name is found in the `data-directory'. */)
612 *p = '_'; 613 *p = '_';
613 p++; 614 p++;
614 } 615 }
615#endif /* not VMS4_4 */ 616#else /* VMS4_4 */
616#ifdef VMS4_4
617 strcpy (name, sys_translate_unix (name)); 617 strcpy (name, sys_translate_unix (name));
618#endif /* VMS4_4 */ 618#endif /* VMS4_4 */
619#endif /* VMS */ 619#endif /* VMS */
@@ -660,6 +660,9 @@ the same file name is found in the `data-directory'. */)
660 else if (p[1] == 'F') 660 else if (p[1] == 'F')
661 store_function_docstring (sym, pos + end + 1 - buf); 661 store_function_docstring (sym, pos + end + 1 - buf);
662 662
663 else if (p[1] == 'S')
664 ; /* Just a source file name boundary marker. Ignore it. */
665
663 else 666 else
664 error ("DOC file invalid at position %d", pos); 667 error ("DOC file invalid at position %d", pos);
665 } 668 }