aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2013-05-15 16:12:53 -0400
committerStefan Monnier2013-05-15 16:12:53 -0400
commit6e911150d00fa20c60b91d51aafd2cfd81e1c349 (patch)
treefe6c39330104f48b37851d5cb773e1a96b683ba5 /src
parent1aa8d50570ea4ad6e57d1b2476b5338357a5ac74 (diff)
downloademacs-6e911150d00fa20c60b91d51aafd2cfd81e1c349.tar.gz
emacs-6e911150d00fa20c60b91d51aafd2cfd81e1c349.zip
Use just DOC instead of DOC-nn.mm.
* lisp/loadup.el: Just use unversioned DOC. * Makefile.in (install-doc): DOC file is not version specific any more. * .bzrignore: Don't ignore DOC-* any more. * admin/quick-install-emacs: Don't prune DOC-* files a any more. * doc/lispref/loading.texi (Autoload): * doc/lispref/help.texi (Documentation Basics, Accessing Documentation) (Accessing Documentation, Accessing Documentation): DOC-* is now DOC. * etc/.gitignore: Don't ignore DOC-* any more. * lib-src/makefile.w32-in ($(DOC)): Use DOC rather than DOC-X. * msdos/sed1x.inp: Don't rewrite DOC any more. * nt/makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more. * src/Makefile.in (bootstrap-clean): DOC-* doesn't exist any more. * src/makefile.w32-in (DOC): Use just "DOC".
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/Makefile.in2
-rw-r--r--src/doc.c4
-rw-r--r--src/lread.c2
-rw-r--r--src/makefile.w32-in2
5 files changed, 9 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7226698934e..c45ec824919 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
12013-05-15 Stefan Monnier <monnier@iro.umontreal.ca> 12013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * makefile.w32-in (DOC): Use just "DOC".
4
5 * Makefile.in (bootstrap-clean): DOC-* doesn't exist any more.
6
3 * process.c: Export default filters and sentinels to Elisp. 7 * process.c: Export default filters and sentinels to Elisp.
4 (Qinternal_default_process_sentinel, Qinternal_default_process_filter): 8 (Qinternal_default_process_sentinel, Qinternal_default_process_filter):
5 New constants. 9 New constants.
diff --git a/src/Makefile.in b/src/Makefile.in
index ad81a8d6592..80d23b2d58b 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -537,7 +537,7 @@ clean: mostlyclean
537## It should remove all files generated during a compilation/bootstrap, 537## It should remove all files generated during a compilation/bootstrap,
538## but not things like config.status or TAGS. 538## but not things like config.status or TAGS.
539bootstrap-clean: clean 539bootstrap-clean: clean
540 rm -f epaths.h config.h config.stamp stamp-h1 stamp-oldxmenu ../etc/DOC-* 540 rm -f epaths.h config.h config.stamp stamp-h1 stamp-oldxmenu
541 if test -f ./.gdbinit; then \ 541 if test -f ./.gdbinit; then \
542 mv ./.gdbinit ./.gdbinit.save; \ 542 mv ./.gdbinit ./.gdbinit.save; \
543 if test -f "$(srcdir)/.gdbinit"; then rm -f ./.gdbinit.save; \ 543 if test -f "$(srcdir)/.gdbinit"; then rm -f ./.gdbinit.save; \
diff --git a/src/doc.c b/src/doc.c
index 770cb1eb646..e45481944f0 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -58,7 +58,7 @@ read_bytecode_char (bool unreadflag)
58} 58}
59 59
60/* Extract a doc string from a file. FILEPOS says where to get it. 60/* Extract a doc string from a file. FILEPOS says where to get it.
61 If it is an integer, use that position in the standard DOC-... file. 61 If it is an integer, use that position in the standard DOC file.
62 If it is (FILE . INTEGER), use FILE as the file name 62 If it is (FILE . INTEGER), use FILE as the file name
63 and INTEGER as the position in that file. 63 and INTEGER as the position in that file.
64 But if INTEGER is negative, make it positive. 64 But if INTEGER is negative, make it positive.
@@ -608,7 +608,7 @@ the same file name is found in the `doc-directory'. */)
608 while (*beg && c_isspace (*beg)) ++beg; 608 while (*beg && c_isspace (*beg)) ++beg;
609 609
610 for (end = beg; *end && ! c_isspace (*end); ++end) 610 for (end = beg; *end && ! c_isspace (*end); ++end)
611 if (*end == '/') beg = end+1; /* skip directory part */ 611 if (*end == '/') beg = end + 1; /* Skip directory part. */
612 612
613 len = end - beg; 613 len = end - beg;
614 if (len > 4 && end[-4] == '.' && end[-3] == 'o') 614 if (len > 4 && end[-4] == '.' && end[-3] == 'o')
diff --git a/src/lread.c b/src/lread.c
index 15821662fc8..3ca644bb45b 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -3557,7 +3557,7 @@ read_list (bool flag, Lisp_Object readcharfun)
3557 { 3557 {
3558 if (NILP (Vdoc_file_name)) 3558 if (NILP (Vdoc_file_name))
3559 /* We have not yet called Snarf-documentation, so assume 3559 /* We have not yet called Snarf-documentation, so assume
3560 this file is described in the DOC-MM.NN file 3560 this file is described in the DOC file
3561 and Snarf-documentation will fill in the right value later. 3561 and Snarf-documentation will fill in the right value later.
3562 For now, replace the whole list with 0. */ 3562 For now, replace the whole list with 0. */
3563 doc_reference = 1; 3563 doc_reference = 1;
diff --git a/src/makefile.w32-in b/src/makefile.w32-in
index 3484d6c70c8..272b053ed12 100644
--- a/src/makefile.w32-in
+++ b/src/makefile.w32-in
@@ -41,7 +41,7 @@ TRES = $(BLD)/emacs.res
41TLASTLIB = $(BLD)/lastfile.$(A) 41TLASTLIB = $(BLD)/lastfile.$(A)
42GNULIB = ../lib/$(BLD)/libgnu.$(A) 42GNULIB = ../lib/$(BLD)/libgnu.$(A)
43 43
44DOC = $(OBJDIR)/etc/DOC-X 44DOC = $(OBJDIR)/etc/DOC
45 45
46FULL_LINK_FLAGS = $(LINK_FLAGS) $(TEMACS_EXTRA_LINK) 46FULL_LINK_FLAGS = $(LINK_FLAGS) $(TEMACS_EXTRA_LINK)
47 47