branch: externals/auctex commit e2b24137ddfcda625264d513da6de3bb0b5270b3 Author: Mosè Giordano <m...@gnu.org> Commit: Mosè Giordano <m...@gnu.org>
Reference TeX-command-run-all in documentation. * doc/auctex.texi (Starting a Command): Update references to `TeX-command-run-all' and C-c C-a key binding. * doc/changes.texi: Ditto. * doc/quickstart.texi (Processing Facilities): Ditto. * tex-buf.el (TeX-command-run-all): Use `universal-argument' to reference C-u. --- ChangeLog | 12 ++++++++++++ doc/auctex.texi | 10 +++++----- doc/changes.texi | 4 ++-- doc/quickstart.texi | 8 ++++---- tex-buf.el | 11 ++++++----- 5 files changed, 29 insertions(+), 16 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0295e3b..9dec281 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2015-09-04 Mos� Giordano <m...@gnu.org> + + * doc/auctex.texi (Starting a Command): Update references to + `TeX-command-run-all' and C-c C-a key binding. + + * doc/changes.texi: Ditto. + + * doc/quickstart.texi (Processing Facilities): Ditto. + + * tex-buf.el (TeX-command-run-all): Use `universal-argument' to + reference C-u. + 2015-09-04 Tassilo Horn <t...@gnu.org> * tex.el: Add autoloads for the new commands. diff --git a/doc/auctex.texi b/doc/auctex.texi index c60d755..e32cd2d 100644 --- a/doc/auctex.texi +++ b/doc/auctex.texi @@ -2701,11 +2701,11 @@ master file. The command is then actually run on the region file. See @end deffn It is also possible to compile automatically the whole document until it -is ready with a single command: @code{TeX-update}. +is ready with a single command: @code{TeX-command-run-all}. -@deffn Command TeX-update -@kindex C-c C-u -(@kbd{C-c C-u}) Compile the current document until an error occurs or it +@deffn Command TeX-command-run-all +@kindex C-c C-a +(@kbd{C-c C-a}) Compile the current document until an error occurs or it is finished. If compilation finishes successfully, run the viewer at the end. @end deffn @@ -2931,7 +2931,7 @@ the sequence @command{tex}--@command{dvips}--@command{ps2pdf} on a per-document basis. Recall the whole sequence of @kbd{C-c C-c} commands can be replace by -the single @kbd{C-c C-u}. +the single @kbd{C-c C-a}. @end defopt @AUCTeX{} also allows you to easily select different @TeX{} engines for diff --git a/doc/changes.texi b/doc/changes.texi index 06471e7..0a90934 100644 --- a/doc/changes.texi +++ b/doc/changes.texi @@ -13,8 +13,8 @@ @itemize @bullet @item You can now run all commands needed to compile a document and then open -the viewer with a single command: @code{TeX-update}, bound to @kbd{C-c -C-u}. +the viewer with a single command: @code{TeX-command-run-all}, bound to +@kbd{C-c C-a}. @item Commands such as LaTeX and View can now be executed conveniently on the diff --git a/doc/quickstart.texi b/doc/quickstart.texi index b50b044..b382018 100644 --- a/doc/quickstart.texi +++ b/doc/quickstart.texi @@ -229,10 +229,10 @@ suggest to run a viewer, or you can chose to create a PostScript file using @command{dvips}, or to directly print it. Actually, there is another command which comes in handy to compile -documents: type @kbd{C-c C-u} (@code{TeX-update}) and @AUCTeX{} will -compile the document for you until it is ready and then run the viewer. -This is the same as issuing repeatedly @kbd{C-c C-c} and letting -@AUCTeX{} guess the next command to run. +documents: type @kbd{C-c C-a} (@code{TeX-command-run-all}) and @AUCTeX{} +will compile the document for you until it is ready and then run the +viewer. This is the same as issuing repeatedly @kbd{C-c C-c} and +letting @AUCTeX{} guess the next command to run. At this place, a warning needs to be given: First, although @AUCTeX{} is really good in detecting the standard situations when an additional diff --git a/tex-buf.el b/tex-buf.el index 4329cdc..6afe51e 100644 --- a/tex-buf.el +++ b/tex-buf.el @@ -1926,11 +1926,12 @@ depend on it being positive instead of the entry in (defun TeX-command-run-all (arg) "Compile the current document until an error occurs or it is finished. -With a prefix ARG (`C-u \\[TeX-command-run-all]'), compile the -current region instead, e.g, call `TeX-command-run-all-region'. -With multiple prefix arguments (`C-u C-u -\\[TeX-command-run-all]'), compile the current section instead, -e.g. call `LaTeX-command-run-all-section'." +With a prefix ARG (`\\[universal-argument] \\[TeX-command-run-all]'), +compile the current region instead, e.g, call +`TeX-command-run-all-region'. With multiple prefix +arguments (`\\[universal-argument] \\[universal-argument] \\[TeX-command-run-all]'), +compile the current section instead, e.g. call +`LaTeX-command-run-all-section'." (interactive "P") (cond ((null arg) (TeX-command-sequence t t))