diff options
| author | Stefan Monnier | 2013-05-15 16:12:53 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2013-05-15 16:12:53 -0400 |
| commit | 6e911150d00fa20c60b91d51aafd2cfd81e1c349 (patch) | |
| tree | fe6c39330104f48b37851d5cb773e1a96b683ba5 | |
| parent | 1aa8d50570ea4ad6e57d1b2476b5338357a5ac74 (diff) | |
| download | emacs-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".
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | Makefile.in | 12 | ||||
| -rw-r--r-- | admin/ChangeLog | 4 | ||||
| -rwxr-xr-x | admin/quick-install-emacs | 8 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 16 | ||||
| -rw-r--r-- | doc/lispref/help.texi | 11 | ||||
| -rw-r--r-- | doc/lispref/loading.texi | 2 | ||||
| -rw-r--r-- | etc/.gitignore | 1 | ||||
| -rw-r--r-- | etc/ChangeLog | 4 | ||||
| -rw-r--r-- | etc/PROBLEMS | 2 | ||||
| -rw-r--r-- | lib-src/ChangeLog | 4 | ||||
| -rw-r--r-- | lib-src/makefile.w32-in | 4 | ||||
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/loadup.el | 20 | ||||
| -rw-r--r-- | msdos/ChangeLog | 4 | ||||
| -rw-r--r-- | msdos/sed1x.inp | 2 | ||||
| -rw-r--r-- | nt/ChangeLog | 4 | ||||
| -rw-r--r-- | nt/README.W32 | 2 | ||||
| -rw-r--r-- | nt/makefile.w32-in | 4 | ||||
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/Makefile.in | 2 | ||||
| -rw-r--r-- | src/doc.c | 4 | ||||
| -rw-r--r-- | src/lread.c | 2 | ||||
| -rw-r--r-- | src/makefile.w32-in | 2 |
24 files changed, 67 insertions, 58 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * Makefile.in (install-doc): DOC file is not version specific any more. | ||
| 4 | * .bzrignore: Don't ignore DOC-* any more. | ||
| 5 | |||
| 1 | 2013-05-13 Paul Eggert <eggert@cs.ucla.edu> | 6 | 2013-05-13 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 7 | ||
| 3 | * configure.ac (LD_SWITCH_SYSTEM_TEMACS): OpenBSD needs -nopie. | 8 | * configure.ac (LD_SWITCH_SYSTEM_TEMACS): OpenBSD needs -nopie. |
diff --git a/Makefile.in b/Makefile.in index 019460acf3c..3c1feae5945 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -581,10 +581,6 @@ install-arch-indep: lisp leim install-info install-man ${INSTALL_ARCH_INDEP_EXTR | |||
| 581 | ## guaranteed to do the right thing; eg if we are root and tar is | 581 | ## guaranteed to do the right thing; eg if we are root and tar is |
| 582 | ## preserving source permissions. | 582 | ## preserving source permissions. |
| 583 | 583 | ||
| 584 | ## We install only the relevant DOC file if possible | ||
| 585 | ## (ie DOC-${version}.buildnumber), otherwise DOC-${version}*. | ||
| 586 | ## (Note "otherwise" is inaccurate since 2009-08-23.) | ||
| 587 | |||
| 588 | ## Note that install-arch-indep deletes and recreates the entire | 584 | ## Note that install-arch-indep deletes and recreates the entire |
| 589 | ## installed etc/ directory, so we need it to run before this does. | 585 | ## installed etc/ directory, so we need it to run before this does. |
| 590 | install-doc: src install-arch-indep | 586 | install-doc: src install-arch-indep |
| @@ -592,13 +588,7 @@ install-doc: src install-arch-indep | |||
| 592 | umask 022; ${MKDIR_P} $(DESTDIR)${docdir} ; \ | 588 | umask 022; ${MKDIR_P} $(DESTDIR)${docdir} ; \ |
| 593 | if [ `cd ./etc; /bin/pwd` != `cd $(DESTDIR)${docdir}; /bin/pwd` ]; \ | 589 | if [ `cd ./etc; /bin/pwd` != `cd $(DESTDIR)${docdir}; /bin/pwd` ]; \ |
| 594 | then \ | 590 | then \ |
| 595 | fullversion=`./src/emacs --version | sed -n '1 s/GNU Emacs *//p'`; \ | 591 | docfile="DOC"; \ |
| 596 | if [ -f "./etc/DOC-$${fullversion}" ]; \ | ||
| 597 | then \ | ||
| 598 | docfile="DOC-$${fullversion}"; \ | ||
| 599 | else \ | ||
| 600 | docfile="DOC"; \ | ||
| 601 | fi; \ | ||
| 602 | echo "Copying etc/$${docfile} to $(DESTDIR)${docdir} ..." ; \ | 592 | echo "Copying etc/$${docfile} to $(DESTDIR)${docdir} ..." ; \ |
| 603 | ${INSTALL_DATA} etc/$${docfile} $(DESTDIR)${docdir}/$${docfile}; \ | 593 | ${INSTALL_DATA} etc/$${docfile} $(DESTDIR)${docdir}/$${docfile}; \ |
| 604 | $(set_installuser); \ | 594 | $(set_installuser); \ |
diff --git a/admin/ChangeLog b/admin/ChangeLog index 5ae948ad192..01a6a3ae170 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * quick-install-emacs: Don't prune DOC-* files a any more. | ||
| 4 | |||
| 1 | 2013-05-14 Glenn Morris <rgm@gnu.org> | 5 | 2013-05-14 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * cus-test.el (cus-test-get-lisp-files): Ignore obsolete/. | 7 | * cus-test.el (cus-test-get-lisp-files): Ignore obsolete/. |
diff --git a/admin/quick-install-emacs b/admin/quick-install-emacs index e74a2a5af49..98bd61f839d 100755 --- a/admin/quick-install-emacs +++ b/admin/quick-install-emacs | |||
| @@ -105,8 +105,8 @@ and build directories reside. | |||
| 105 | 105 | ||
| 106 | Optionally, $me can also remove old versions of | 106 | Optionally, $me can also remove old versions of |
| 107 | automatically generated files that are version-specific (such as the | 107 | automatically generated files that are version-specific (such as the |
| 108 | versioned emacs executables in the \`src' directory, and the DOC-* files | 108 | versioned emacs executables in the \`src' directory). |
| 109 | in the \`etc' directory). The latter action is called \`pruning,' and | 109 | The latter action is called \`pruning,' and |
| 110 | can be enabled using the \`-p' or \`--prune' options. | 110 | can be enabled using the \`-p' or \`--prune' options. |
| 111 | EOF | 111 | EOF |
| 112 | exit 0 | 112 | exit 0 |
| @@ -209,10 +209,6 @@ maybe_mkdir "$DST_INFO" | |||
| 209 | 209 | ||
| 210 | PRUNED="" | 210 | PRUNED="" |
| 211 | if test x"$PRUNE" != xno; then | 211 | if test x"$PRUNE" != xno; then |
| 212 | for D in `ls -1t $BUILD/etc/DOC-* | sed 1d`; do | ||
| 213 | echo $REMOVE_CMD $D | ||
| 214 | PRUNED="$PRUNED $D" | ||
| 215 | done | ||
| 216 | for D in `ls -1t $BUILD/src/emacs-$VERSION.* | sed 1d`; do | 212 | for D in `ls -1t $BUILD/src/emacs-$VERSION.* | sed 1d`; do |
| 217 | echo $REMOVE_CMD $D | 213 | echo $REMOVE_CMD $D |
| 218 | PRUNED="$PRUNED $D" | 214 | PRUNED="$PRUNED $D" |
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 1a6fd5eca0d..249a2f21ccb 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * loading.texi (Autoload): | ||
| 4 | * help.texi (Documentation Basics, Accessing Documentation) | ||
| 5 | (Accessing Documentation, Accessing Documentation): DOC-* is now DOC. | ||
| 6 | |||
| 1 | 2013-04-23 Glenn Morris <rgm@gnu.org> | 7 | 2013-04-23 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * internals.texi (Writing Emacs Primitives): Remove obvious example. | 9 | * internals.texi (Writing Emacs Primitives): Remove obvious example. |
| @@ -24,8 +30,8 @@ | |||
| 24 | 2013-04-06 Chong Yidong <cyd@gnu.org> | 30 | 2013-04-06 Chong Yidong <cyd@gnu.org> |
| 25 | 31 | ||
| 26 | * display.texi (Faces): Minor clarifications. | 32 | * display.texi (Faces): Minor clarifications. |
| 27 | (Defining Faces): Clarify default vs custom face specs. Document | 33 | (Defining Faces): Clarify default vs custom face specs. |
| 28 | face-spec-set. | 34 | Document face-spec-set. |
| 29 | 35 | ||
| 30 | * display.texi (Overlay Properties): | 36 | * display.texi (Overlay Properties): |
| 31 | * text.texi (Special Properties): Use the "anonymous face" | 37 | * text.texi (Special Properties): Use the "anonymous face" |
| @@ -2050,8 +2056,8 @@ | |||
| 2050 | 2056 | ||
| 2051 | 2012-02-04 Chong Yidong <cyd@gnu.org> | 2057 | 2012-02-04 Chong Yidong <cyd@gnu.org> |
| 2052 | 2058 | ||
| 2053 | * functions.texi (What Is a Function): Add closures. Mention | 2059 | * functions.texi (What Is a Function): Add closures. |
| 2054 | "return value" terminology. Add xref for command-execute. | 2060 | Mention "return value" terminology. Add xref for command-execute. |
| 2055 | Remove unused "keystroke command" terminology. | 2061 | Remove unused "keystroke command" terminology. |
| 2056 | (Lambda Expressions): Give a different example than in the | 2062 | (Lambda Expressions): Give a different example than in the |
| 2057 | following subsection. Add xref to Anonymous Functions. | 2063 | following subsection. Add xref to Anonymous Functions. |
| @@ -11598,7 +11604,7 @@ | |||
| 11598 | 11604 | ||
| 11599 | 2002-05-13 Kim F. Storm <storm@cua.dk> | 11605 | 2002-05-13 Kim F. Storm <storm@cua.dk> |
| 11600 | 11606 | ||
| 11601 | * variables.texi (Intro to Buffer-Local): Updated warning and | 11607 | * variables.texi (Intro to Buffer-Local): Update warning and |
| 11602 | example relating to changing buffer inside let. | 11608 | example relating to changing buffer inside let. |
| 11603 | 11609 | ||
| 11604 | 2002-03-10 Jan Djärv <jan.h.d@swipnet.se> | 11610 | 2002-03-10 Jan Djärv <jan.h.d@swipnet.se> |
diff --git a/doc/lispref/help.texi b/doc/lispref/help.texi index 9fe069b84d0..aa77ba1f36d 100644 --- a/doc/lispref/help.texi +++ b/doc/lispref/help.texi | |||
| @@ -93,13 +93,12 @@ When you define a variable with a @code{defvar} or related form | |||
| 93 | (@pxref{Defining Variables}), the documentation is stored in the | 93 | (@pxref{Defining Variables}), the documentation is stored in the |
| 94 | variable's @code{variable-documentation} property. | 94 | variable's @code{variable-documentation} property. |
| 95 | 95 | ||
| 96 | @cindex @file{DOC-@var{version}} (documentation) file | 96 | @cindex @file{DOC} (documentation) file |
| 97 | @item | 97 | @item |
| 98 | To save memory, the documentation for preloaded functions and | 98 | To save memory, the documentation for preloaded functions and |
| 99 | variables (including primitive functions and autoloaded functions) is | 99 | variables (including primitive functions and autoloaded functions) is |
| 100 | not kept in memory, but in the file | 100 | not kept in memory, but in the file |
| 101 | @file{emacs/etc/DOC-@var{version}}, where @var{version} is the Emacs | 101 | @file{emacs/etc/DOC}). |
| 102 | version number (@pxref{Version Info}). | ||
| 103 | 102 | ||
| 104 | @item | 103 | @item |
| 105 | When a function or variable is loaded from a byte-compiled file during | 104 | When a function or variable is loaded from a byte-compiled file during |
| @@ -126,7 +125,7 @@ customization groups (but for function documentation, use the | |||
| 126 | @code{documentation} command, below). | 125 | @code{documentation} command, below). |
| 127 | 126 | ||
| 128 | If the value recorded in the property list refers to a documentation | 127 | If the value recorded in the property list refers to a documentation |
| 129 | string stored in a @file{DOC-@var{version}} file or a byte-compiled | 128 | string stored in a @file{DOC} file or a byte-compiled |
| 130 | file, it looks up that string and returns it. If the property value | 129 | file, it looks up that string and returns it. If the property value |
| 131 | isn't @code{nil}, isn't a string, and doesn't refer to text in a file, | 130 | isn't @code{nil}, isn't a string, and doesn't refer to text in a file, |
| 132 | then it is evaluated as a Lisp expression to obtain a string. | 131 | then it is evaluated as a Lisp expression to obtain a string. |
| @@ -296,12 +295,12 @@ memory in the function definitions and variable property lists. | |||
| 296 | Emacs reads the file @var{filename} from the @file{emacs/etc} directory. | 295 | Emacs reads the file @var{filename} from the @file{emacs/etc} directory. |
| 297 | When the dumped Emacs is later executed, the same file will be looked | 296 | When the dumped Emacs is later executed, the same file will be looked |
| 298 | for in the directory @code{doc-directory}. Usually @var{filename} is | 297 | for in the directory @code{doc-directory}. Usually @var{filename} is |
| 299 | @code{"DOC-@var{version}"}. | 298 | @code{"DOC"}. |
| 300 | @end defun | 299 | @end defun |
| 301 | 300 | ||
| 302 | @defvar doc-directory | 301 | @defvar doc-directory |
| 303 | This variable holds the name of the directory which should contain the | 302 | This variable holds the name of the directory which should contain the |
| 304 | file @code{"DOC-@var{version}"} that contains documentation strings for | 303 | file @code{"DOC"} that contains documentation strings for |
| 305 | built-in and preloaded functions and variables. | 304 | built-in and preloaded functions and variables. |
| 306 | 305 | ||
| 307 | In most cases, this is the same as @code{data-directory}. They may be | 306 | In most cases, this is the same as @code{data-directory}. They may be |
diff --git a/doc/lispref/loading.texi b/doc/lispref/loading.texi index 51a060bc6c6..5c92307f7d5 100644 --- a/doc/lispref/loading.texi +++ b/doc/lispref/loading.texi | |||
| @@ -483,7 +483,7 @@ For example, | |||
| 483 | @noindent | 483 | @noindent |
| 484 | In this case, @code{"prolog"} is the name of the file to load, 169681 | 484 | In this case, @code{"prolog"} is the name of the file to load, 169681 |
| 485 | refers to the documentation string in the | 485 | refers to the documentation string in the |
| 486 | @file{emacs/etc/DOC-@var{version}} file (@pxref{Documentation Basics}), | 486 | @file{emacs/etc/DOC} file (@pxref{Documentation Basics}), |
| 487 | @code{t} means the function is interactive, and @code{nil} that it is | 487 | @code{t} means the function is interactive, and @code{nil} that it is |
| 488 | not a macro or a keymap. | 488 | not a macro or a keymap. |
| 489 | @end defun | 489 | @end defun |
diff --git a/etc/.gitignore b/etc/.gitignore index 618d09438f8..8e12acbee0c 100644 --- a/etc/.gitignore +++ b/etc/.gitignore | |||
| @@ -1,3 +1,2 @@ | |||
| 1 | DOC | 1 | DOC |
| 2 | DOC-* | ||
| 3 | icons/ | 2 | icons/ |
diff --git a/etc/ChangeLog b/etc/ChangeLog index 46564aeebcd..f4f17ac29cf 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * .gitignore: Don't ignore DOC-* any more. | ||
| 4 | |||
| 1 | 2013-05-07 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2013-05-07 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | Use Gnulib ACL implementation, for benefit of Solaris etc. (Bug#14295) | 7 | Use Gnulib ACL implementation, for benefit of Solaris etc. (Bug#14295) |
diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 0cfc0ad0c14..7556c23daee 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS | |||
| @@ -551,7 +551,7 @@ with CEDET 1.0pre4) or later. | |||
| 551 | 551 | ||
| 552 | *** Self-documentation messages are garbled. | 552 | *** Self-documentation messages are garbled. |
| 553 | 553 | ||
| 554 | This means that the file `etc/DOC-...' doesn't properly correspond | 554 | This means that the file `etc/DOC' doesn't properly correspond |
| 555 | with the Emacs executable. Redumping Emacs and then installing the | 555 | with the Emacs executable. Redumping Emacs and then installing the |
| 556 | corresponding pair of files should fix the problem. | 556 | corresponding pair of files should fix the problem. |
| 557 | 557 | ||
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index bd7618e0a82..63108cae9a9 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * makefile.w32-in ($(DOC)): Use DOC rather than DOC-X. | ||
| 4 | |||
| 1 | 2013-05-06 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2013-05-06 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | * make-docfile.c (search_lisp_doc_at_eol) [DEBUG]: Fix typo, | 7 | * make-docfile.c (search_lisp_doc_at_eol) [DEBUG]: Fix typo, |
diff --git a/lib-src/makefile.w32-in b/lib-src/makefile.w32-in index 5ec559ff985..9656a3badec 100644 --- a/lib-src/makefile.w32-in +++ b/lib-src/makefile.w32-in | |||
| @@ -292,10 +292,10 @@ $(DOC): stamp_BLD $(BLD)/make-docfile.exe ../src/$(BLD)/temacs.exe $(lisp1) $(l | |||
| 292 | "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(lisp1) | 292 | "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(lisp1) |
| 293 | "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(lisp2) | 293 | "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(lisp2) |
| 294 | "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(OTHER_PLATFORM_SUPPORT) | 294 | "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(OTHER_PLATFORM_SUPPORT) |
| 295 | $(CP) $(DOC) ../etc/DOC-X | 295 | $(CP) $(DOC) ../etc/DOC |
| 296 | - mkdir "../src/$(OBJDIR)" | 296 | - mkdir "../src/$(OBJDIR)" |
| 297 | - mkdir "../src/$(OBJDIR)/etc" | 297 | - mkdir "../src/$(OBJDIR)/etc" |
| 298 | $(CP) $(DOC) ../src/$(OBJDIR)/etc/DOC-X | 298 | $(CP) $(DOC) ../src/$(OBJDIR)/etc/DOC |
| 299 | 299 | ||
| 300 | {$(BLD)}.$(O){$(BLD)}.exe: | 300 | {$(BLD)}.$(O){$(BLD)}.exe: |
| 301 | $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $*.$(O) $(LIBS) | 301 | $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $*.$(O) $(LIBS) |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4f620dfb00a..b96d830e807 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * loadup.el: Just use unversioned DOC. | ||
| 4 | |||
| 3 | * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other | 5 | * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other |
| 4 | literals as extending to EOB. | 6 | literals as extending to EOB. |
| 5 | (nxml-last-fontify-end): Remove unused variable. | 7 | (nxml-last-fontify-end): Remove unused variable. |
diff --git a/lisp/loadup.el b/lisp/loadup.el index 00c52341058..a2e0d8ecec5 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el | |||
| @@ -305,22 +305,10 @@ | |||
| 305 | (message "Finding pointers to doc strings...") | 305 | (message "Finding pointers to doc strings...") |
| 306 | (if (or (equal (nth 3 command-line-args) "dump") | 306 | (if (or (equal (nth 3 command-line-args) "dump") |
| 307 | (equal (nth 4 command-line-args) "dump")) | 307 | (equal (nth 4 command-line-args) "dump")) |
| 308 | (let ((name emacs-version)) | 308 | (Snarf-documentation "DOC") |
| 309 | (while (string-match "[^-+_.a-zA-Z0-9]+" name) | 309 | (condition-case nil |
| 310 | (setq name (concat (downcase (substring name 0 (match-beginning 0))) | 310 | (Snarf-documentation "DOC") |
| 311 | "-" | 311 | (error nil))) |
| 312 | (substring name (match-end 0))))) | ||
| 313 | (if (memq system-type '(ms-dos windows-nt)) | ||
| 314 | (setq name (expand-file-name | ||
| 315 | (if (fboundp 'x-create-frame) "DOC-X" "DOC") "../etc")) | ||
| 316 | (setq name (concat (expand-file-name "../etc/DOC-") name)) | ||
| 317 | (if (file-exists-p name) | ||
| 318 | (delete-file name)) | ||
| 319 | (copy-file (expand-file-name "../etc/DOC") name t)) | ||
| 320 | (Snarf-documentation (file-name-nondirectory name))) | ||
| 321 | (condition-case nil | ||
| 322 | (Snarf-documentation "DOC") | ||
| 323 | (error nil))) | ||
| 324 | (message "Finding pointers to doc strings...done") | 312 | (message "Finding pointers to doc strings...done") |
| 325 | 313 | ||
| 326 | ;; Note: You can cause additional libraries to be preloaded | 314 | ;; Note: You can cause additional libraries to be preloaded |
diff --git a/msdos/ChangeLog b/msdos/ChangeLog index 87a135cad2d..0214b6bc98b 100644 --- a/msdos/ChangeLog +++ b/msdos/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * sed1x.inp: Don't rewrite DOC any more. | ||
| 4 | |||
| 1 | 2013-02-08 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2013-02-08 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | * sedlibmk.inp: Sync with changes in lib/Makefile.in. | 7 | * sedlibmk.inp: Sync with changes in lib/Makefile.in. |
diff --git a/msdos/sed1x.inp b/msdos/sed1x.inp index 9134bc73d28..dacfee6d385 100644 --- a/msdos/sed1x.inp +++ b/msdos/sed1x.inp | |||
| @@ -17,7 +17,7 @@ | |||
| 17 | # ---------------------------------------------------------------------- | 17 | # ---------------------------------------------------------------------- |
| 18 | s!^ cd \${oldXMenudir}; \${MAKE}.*$! ${MAKE} -C ${oldXMenudir}.! | 18 | s!^ cd \${oldXMenudir}; \${MAKE}.*$! ${MAKE} -C ${oldXMenudir}.! |
| 19 | s!^ @true *$! @rem! | 19 | s!^ @true *$! @rem! |
| 20 | s/DOC/DOC-X/g | 20 | #s/DOC/DOC-X/g |
| 21 | /^OLDXMENU *=/s!=.*!= ${oldXMenudir}libXMenu11.a! | 21 | /^OLDXMENU *=/s!=.*!= ${oldXMenudir}libXMenu11.a! |
| 22 | /^LIBXMENU *=/s!= *!= ${OLDXMENU}! | 22 | /^LIBXMENU *=/s!= *!= ${OLDXMENU}! |
| 23 | /^LIBX_OTHER *=/s!= *!= ${LIBXT} ${LIBX_EXTRA}! | 23 | /^LIBX_OTHER *=/s!= *!= ${LIBXT} ${LIBX_EXTRA}! |
diff --git a/nt/ChangeLog b/nt/ChangeLog index 2a602be59c9..b66871e319b 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more. | ||
| 4 | |||
| 1 | 2013-05-08 Juanma Barranquero <lekktu@gmail.com> | 5 | 2013-05-08 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 6 | ||
| 3 | * config.nt: Sync with autogen/config.in. | 7 | * config.nt: Sync with autogen/config.in. |
diff --git a/nt/README.W32 b/nt/README.W32 index 19c148bbf0b..a2881ce1914 100644 --- a/nt/README.W32 +++ b/nt/README.W32 | |||
| @@ -29,7 +29,7 @@ See the end of the file for license conditions. | |||
| 29 | Along with this file should be six subdirectories (bin, etc, info, | 29 | Along with this file should be six subdirectories (bin, etc, info, |
| 30 | lisp, leim, site-lisp). If you have downloaded the barebin | 30 | lisp, leim, site-lisp). If you have downloaded the barebin |
| 31 | distribution, then it will contain only the bin directory and the | 31 | distribution, then it will contain only the bin directory and the |
| 32 | built in documentation in etc/DOC-X, the rest of the subdirectories | 32 | built in documentation in etc/DOC, the rest of the subdirectories |
| 33 | are in the src distribution, which the barebin distribution is | 33 | are in the src distribution, which the barebin distribution is |
| 34 | designed to be used with. | 34 | designed to be used with. |
| 35 | 35 | ||
diff --git a/nt/makefile.w32-in b/nt/makefile.w32-in index d3e1c8e2228..4aa1ea91d44 100644 --- a/nt/makefile.w32-in +++ b/nt/makefile.w32-in | |||
| @@ -313,7 +313,7 @@ clean: clean-other-dirs-$(MAKETYPE) | |||
| 313 | - $(DEL) $(COMPILER_TEMP_FILES) | 313 | - $(DEL) $(COMPILER_TEMP_FILES) |
| 314 | - $(DEL_TREE) $(OBJDIR) | 314 | - $(DEL_TREE) $(OBJDIR) |
| 315 | - $(DEL) stamp_BLD | 315 | - $(DEL) stamp_BLD |
| 316 | - $(DEL) ../etc/DOC ../etc/DOC-X | 316 | - $(DEL) ../etc/DOC |
| 317 | 317 | ||
| 318 | clean-other-dirs-nmake: | 318 | clean-other-dirs-nmake: |
| 319 | cd ..\lib | 319 | cd ..\lib |
| @@ -373,7 +373,7 @@ top-distclean: | |||
| 373 | - $(DEL_TREE) oo | 373 | - $(DEL_TREE) oo |
| 374 | - $(DEL_TREE) oo-spd | 374 | - $(DEL_TREE) oo-spd |
| 375 | - $(DEL) stamp_BLD | 375 | - $(DEL) stamp_BLD |
| 376 | - $(DEL) ../etc/DOC ../etc/DOC-X | 376 | - $(DEL) ../etc/DOC |
| 377 | - $(DEL) config.log Makefile | 377 | - $(DEL) config.log Makefile |
| 378 | - $(DEL) ../README.W32 | 378 | - $(DEL) ../README.W32 |
| 379 | 379 | ||
diff --git a/src/ChangeLog b/src/ChangeLog index 7226698934e..c45ec824919 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2013-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. |
| 539 | bootstrap-clean: clean | 539 | bootstrap-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; \ |
| @@ -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 | |||
| 41 | TLASTLIB = $(BLD)/lastfile.$(A) | 41 | TLASTLIB = $(BLD)/lastfile.$(A) |
| 42 | GNULIB = ../lib/$(BLD)/libgnu.$(A) | 42 | GNULIB = ../lib/$(BLD)/libgnu.$(A) |
| 43 | 43 | ||
| 44 | DOC = $(OBJDIR)/etc/DOC-X | 44 | DOC = $(OBJDIR)/etc/DOC |
| 45 | 45 | ||
| 46 | FULL_LINK_FLAGS = $(LINK_FLAGS) $(TEMACS_EXTRA_LINK) | 46 | FULL_LINK_FLAGS = $(LINK_FLAGS) $(TEMACS_EXTRA_LINK) |
| 47 | 47 | ||