aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier2013-05-15 16:12:53 -0400
committerStefan Monnier2013-05-15 16:12:53 -0400
commit6e911150d00fa20c60b91d51aafd2cfd81e1c349 (patch)
treefe6c39330104f48b37851d5cb773e1a96b683ba5 /lisp
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 'lisp')
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/loadup.el20
2 files changed, 6 insertions, 16 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4f620dfb00a..b96d830e807 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12013-05-15 Stefan Monnier <monnier@iro.umontreal.ca> 12013-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