summaryrefslogtreecommitdiff
path: root/src/doc.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2011-04-24 12:00:03 +0300
committerEli Zaretskii <eliz@gnu.org>2011-04-24 12:00:03 +0300
commit762b15be8c7925c661e839fa41d46189513dfda6 (patch)
tree05540ae931986d38d8d4136b36923ee129daf8a5 /src/doc.c
parentf1052e5d1b134c255b4fe7cd948681a0a9af9b63 (diff)
downloademacs-762b15be8c7925c661e839fa41d46189513dfda6.tar.gz
Fallout from resurrecting doprnt.
src/doc.c (get_doc_string): Improve the format passed to `error'. src/doprnt.c (doprnt): Improve commentary. src/term.c (init_tty) [MSDOS]: Fix 1st argument to maybe_fatal. src/Makefile.in (TAGS): Depend on $(M_FILE) and $(S_FILE), and scan them with etags. src/makefile.w32-in (TAGS): Depend on $(CURDIR)/m/intel386.h and $(CURDIR)/s/ms-w32.h. (TAGS-gmake): Scan $(CURDIR)/m/intel386.h and $(CURDIR)/s/ms-w32.h.
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/doc.c b/src/doc.c
index 354aff84979..4b75deaba5c 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -253,7 +253,9 @@ get_doc_string (Lisp_Object filepos, int unibyte, int definition)
else if (c == '_')
*to++ = 037;
else
- error ("Invalid data in documentation file -- ^A followed by code 0%o", c);
+ error ("\
+Invalid data in documentation file -- %c followed by code %03o",
+ 1, (unsigned)c);
}
else
*to++ = *from++;