2001-02-23 08:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
authorShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 23 Feb 2001 13:03:04 +0000 (13:03 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 23 Feb 2001 13:03:04 +0000 (13:03 +0000)
* gnus.texi: Remove double words. From Gerd Moellmann.

* infohack.el (batch-makeinfo): New.

* Makefile.in (EMACSINFO): Use it.

texi/ChangeLog
texi/Makefile.in
texi/gnus.texi
texi/infohack.el

index 3ec5b3e..7f18732 100644 (file)
@@ -1,3 +1,11 @@
+2001-02-23 08:00:00  ShengHuo ZHU  <zsh@cs.rochester.edu>
+
+       * gnus.texi: Remove double words. From Gerd Moellmann.
+
+       * infohack.el (batch-makeinfo): New.
+       
+       * Makefile.in (EMACSINFO): Use it.
+
 2001-02-17 13:00:00  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
        * gnus.texi (Posting Styles): Doc fix.
index f68a847..d35f8ee 100644 (file)
@@ -9,7 +9,8 @@ TEXI2DVI=texi2dvi
 TEXI2PDF=texi2pdf
 MAKEINFO=@MAKEINFO@
 EMACS=@EMACS@
-EMACSINFO=$(EMACS) -batch -q -no-site-file
+EMACSCOMP=$(EMACS) -batch -q -no-site-file
+EMACSINFO=$(EMACSCOMP) -l $(srcdir)/infohack.el -f batch-makeinfo
 PDFLATEX=pdflatex
 LATEX=latex
 DVIPS=dvips
@@ -29,7 +30,7 @@ most: texi2latex.elc latex latexps
        if test "x$(MAKEINFO)" != "xno" ; then \
          $(MAKEINFO) -I $(srcdir) -o $* $<; \
        else \
-         $(EMACSINFO) -l $(srcdir)/infohack.el -eval '(infohack "$<")'; \
+         $(EMACSINFO) $<; \
        fi
 
 dvi: gnus.dvi message.dvi refcard.dvi emacs-mime.dvi
@@ -68,10 +69,10 @@ makeinfo:
        makeinfo -o message message.texi
 
 texi2latex.elc: texi2latex.el
-       srcdir=$(srcdir)/../lisp $(EMACSINFO) -l $(srcdir)/../lisp/dgnushack.el --eval '(byte-compile-file "$(srcdir)/texi2latex.el")'
+       srcdir=$(srcdir)/../lisp $(EMACSCOMP) -l $(srcdir)/../lisp/dgnushack.el --eval '(byte-compile-file "$(srcdir)/texi2latex.el")'
 
 latex gnus.latexi gnus-faq.latexi: $(srcdir)/gnus.texi $(srcdir)/gnus-faq.texi texi2latex.elc
-       srcdir=$(srcdir) $(EMACSINFO) -l ./texi2latex.elc -f latexi-translate
+       srcdir=$(srcdir) $(EMACSCOMP) -l ./texi2latex.elc -f latexi-translate
 
 latexps: gnus.latexi
        make texi2latex.elc
index 6e38896..9cc5054 100644 (file)
@@ -14169,7 +14169,7 @@ if it thinks that the mail belongs in that group.
 Nnmail users might recollect that the last regexp had to be empty to
 match all articles (like in the example above).  This is not required in
 nnimap.  Articles not matching any of the regexps will not be moved out
-of your inbox.  (This might might affect performance if you keep lots of
+of your inbox.  (This might affect performance if you keep lots of
 unread articles in your inbox, since the splitting code would go over
 them every time you fetch new mail.)
 
@@ -14838,7 +14838,7 @@ your desired @code{downloading} criteria for a group are the same as your
 
 These directives in either the category definition or a group's
 parameters will cause the agent to read in all the applicable score
-files for a group, *filtering out* those those sections that do not
+files for a group, *filtering out* those sections that do not
 relate to one of the permitted subset of scoring keywords.
 
 @itemize @bullet
@@ -16258,7 +16258,7 @@ A list.  The elements in this list can be:
 @enumerate
 @item
 @code{(@var{regexp} @var{file-name})}.  If the @var{regexp} matches the
-group name, the @var{file-name} will will be used as the home score file.
+group name, the @var{file-name} will be used as the home score file.
 
 @item
 A function.  If the function returns non-nil, the result will be used as
@@ -18184,7 +18184,7 @@ never be totally undoable.
 @findex gnus-undo
 The undoability is provided by the @code{gnus-undo-mode} minor mode.  It
 is used if @code{gnus-use-undo} is non-@code{nil}, which is the
-default.  The @kbd{M-C-_} key performs the @code{gnus-undo} command
+default.  The @kbd{M-C-_} key performs the @code{gnus-undo} 
 command, which should feel kinda like the normal Emacs @code{undo}
 command.
 
index 2fcf0fb..d3e59a1 100644 (file)
@@ -46,4 +46,9 @@
        (Info-split))
     (save-buffer)))
 
+(defun batch-makeinfo ()
+  "Emacs makeinfo in batch mode."
+  (infohack (car command-line-args-left))
+  (setq command-line-args-left nil))
+
 ;;; infohack.el ends here