aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-05-08 00:18:18 -0700
committerGlenn Morris2012-05-08 00:18:18 -0700
commit5122804afcfe39d656b4252369a290b319d0cc78 (patch)
treed724aad0baafbf4910bbe8386a278f6a5d396fc1
parentca4b98faff8bad176de15c29b4e6b4c2b5a7d38a (diff)
downloademacs-5122804afcfe39d656b4252369a290b319d0cc78.tar.gz
emacs-5122804afcfe39d656b4252369a290b319d0cc78.zip
Remove doc/lispref/two.el
* doc/lispref/two.el: Remove; unused since creation of two-volume.make. * make-dist: No more doc/lispref/*.el.
-rw-r--r--ChangeLog4
-rw-r--r--doc/lispref/ChangeLog2
-rw-r--r--doc/lispref/two.el78
-rwxr-xr-xmake-dist6
4 files changed, 9 insertions, 81 deletions
diff --git a/ChangeLog b/ChangeLog
index a30ecc13d46..c456f8d1736 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12012-05-08 Glenn Morris <rgm@gnu.org>
2
3 * make-dist: No more doc/lispref/*.el.
4
12012-05-05 Andreas Schwab <schwab@linux-m68k.org> 52012-05-05 Andreas Schwab <schwab@linux-m68k.org>
2 6
3 * configure.in: Fix quoting bugs. 7 * configure.in: Fix quoting bugs.
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index a3346642342..89f91e91498 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,5 +1,7 @@
12012-05-08 Glenn Morris <rgm@gnu.org> 12012-05-08 Glenn Morris <rgm@gnu.org>
2 2
3 * two.el: Remove; unused since creation of two-volume.make.
4
3 * vol1.texi, vol2.texi: No need to keep menus in these files. 5 * vol1.texi, vol2.texi: No need to keep menus in these files.
4 6
52012-05-05 Glenn Morris <rgm@gnu.org> 72012-05-05 Glenn Morris <rgm@gnu.org>
diff --git a/doc/lispref/two.el b/doc/lispref/two.el
deleted file mode 100644
index 39dee62d45d..00000000000
--- a/doc/lispref/two.el
+++ /dev/null
@@ -1,78 +0,0 @@
1;; Auxiliary functions for preparing a two volume manual.
2
3;; Copyright (C) 2001-2012 Free Software Foundation, Inc.
4
5;; --rjc 30mar92
6
7;; This file is free software: you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation, either version 3 of the License, or
10;; (at your option) any later version.
11
12;; This file is distributed in the hope that it will be useful,
13;; but WITHOUT ANY WARRANTY; without even the implied warranty of
14;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15;; GNU General Public License for more details.
16
17;; You should have received a copy of the GNU General Public License
18;; along with this file. If not, see <http://www.gnu.org/licenses/>.
19
20
21(defun volume-aux-markup (arg)
22 "Append `vol. NUMBER' to page number.
23Apply to aux file that you save.
24Then insert marked file into other volume's .aux file."
25 (interactive "sType volume number, 1 or 2: " )
26 (goto-char (point-min))
27 (while (search-forward "-pg" nil t)
28 (end-of-line 1)
29 (delete-backward-char 1 nil)
30 (insert ", vol.'tie" arg "}")))
31
32(defun volume-index-markup (arg)
33 "Prepend `NUMBER:' to page number. Use Roman Numeral.
34Apply only to unsorted index file,
35Then insert marked file into other volume's unsorted index file.
36Then run texindex on that file and save."
37 (interactive
38 "sType volume number, roman number I or II: " )
39 (goto-char (point-min))
40 (while (search-forward "\\entry" nil t)
41 (search-forward "}{" (save-excursion (end-of-line) (point)) nil)
42 (insert arg ":")))
43
44(defun volume-numbers-toc-markup (arg)
45 (interactive
46 "sType volume number, roman number I or II: " )
47 (goto-char (point-min))
48 (while (search-forward "chapentry" nil t)
49 (end-of-line)
50 (search-backward "{" nil t)
51 (forward-char 1)
52 (insert arg ":")))
53
54(defun volume-header-toc-markup ()
55 "Insert Volume I and Volume II text into .toc file.
56NOTE: this auxiliary function is file specific.
57This is for the *Elisp Ref Manual*."
58 (interactive)
59 (goto-char (point-min))
60 (insert "\\unnumbchapentry {Volume 1}{}\n\\unnumbchapentry {}{}\n")
61 (search-forward "\\unnumbchapentry {Index}")
62 (forward-line 1)
63 (insert
64 "\\unnumbchapentry {}{}\n\\unnumbchapentry {}{}\n\\unnumbchapentry {}{}\n\\unnumbchapentry {}{}\n\\unnumbchapentry {Volume 2}{}\n\\unnumbchapentry {}{}\n"))
65
66
67;;; In batch mode, you cannot call functions with args; hence this kludge:
68
69(defun volume-aux-markup-1 () (volume-aux-markup "1"))
70(defun volume-aux-markup-2 () (volume-aux-markup "2"))
71
72(defun volume-index-markup-I () (volume-index-markup "I"))
73(defun volume-index-markup-II () (volume-index-markup "II"))
74
75(defun volume-numbers-toc-markup-I () (volume-numbers-toc-markup "I"))
76(defun volume-numbers-toc-markup-II () (volume-numbers-toc-markup "II"))
77
78;;; two.el ends here
diff --git a/make-dist b/make-dist
index 44a123c658a..9cf6af09e41 100755
--- a/make-dist
+++ b/make-dist
@@ -1,7 +1,7 @@
1#!/bin/sh 1#!/bin/sh
2### make-dist: create an Emacs distribution tar file from current srcdir 2### make-dist: create an Emacs distribution tar file from current srcdir
3 3
4## Copyright (C) 1995, 1997-1998, 2000-2012 Free Software Foundation, Inc. 4## Copyright (C) 1995, 1997-1998, 2000-2012 Free Software Foundation, Inc.
5 5
6## This file is part of GNU Emacs. 6## This file is part of GNU Emacs.
7 7
@@ -478,8 +478,8 @@ echo "Making links to \`doc/misc'"
478echo "Making links to \`doc/lispref'" 478echo "Making links to \`doc/lispref'"
479(cd doc/lispref 479(cd doc/lispref
480 ln *.texi *.in makefile.w32-in README ChangeLog* ../../${tempdir}/doc/lispref 480 ln *.texi *.in makefile.w32-in README ChangeLog* ../../${tempdir}/doc/lispref
481 ln *.txt *.el spellfile ../../${tempdir}/doc/lispref 481 ln spellfile ../../${tempdir}/doc/lispref
482 ln two-volume.make ../../${tempdir}/doc/lispref) 482 ln two-volume.make two-volume-cross-refs.txt ../../${tempdir}/doc/lispref)
483 483
484echo "Making links to \`doc/lispintro'" 484echo "Making links to \`doc/lispintro'"
485(cd doc/lispintro 485(cd doc/lispintro