auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] [elpa] externals/auctex f9356664c8 23/60: Update document


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex f9356664c8 23/60: Update documentation
Date: Fri, 8 Apr 2022 11:52:49 -0400 (EDT)

branch: externals/auctex
commit f9356664c8b0cf0e610010b86b255fa67ed9432f
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>

    Update documentation
    
    * doc/faq.texi: Mention how to invoke vanilla emacs for EPLA
    installation and on windows.
    * latex.el (LaTeX-maybe-install-toolbar):
    * plain-tex.el (plain-TeX-maybe-install-toolbar):
    Fix typos.
---
 doc/faq.texi | 23 ++++++++++++++++++++---
 latex.el     |  4 ++--
 plain-tex.el |  2 +-
 3 files changed, 23 insertions(+), 6 deletions(-)

diff --git a/doc/faq.texi b/doc/faq.texi
index a9b2aa2d0d..a81bfadfe9 100644
--- a/doc/faq.texi
+++ b/doc/faq.texi
@@ -43,9 +43,26 @@ in the bug report.
 
 Second, you can try to figure out if something in your personal or site
 configuration triggers the error by starting Emacs without such
-customizations.  You can do this by invoking Emacs with the command line
-@samp{emacs -q -no-site-file -l auctex}.  The @option{-l} option
-loads @file{auctex.el} which you normally do in your init file.  After you
+customizations.  You can do this by invoking Emacs with the following
+command line, depending on the installation scheme of @AUCTeX{} and your
+@acronym{OS}:
+@itemize
+@item
+If you installed @AUCTeX{} from @acronym{ELPA}, use @samp{emacs -q
+-no-site-file --eval "(progn (setq package-load-list '((auctex t)))
+(package-initialize))"}.  The @option{--eval} activates only @AUCTeX{}
+among all installed @acronym{EPLA} packages.
+@item
+If you installed @AUCTeX{} via traditional
+@command{configure}--@command{make} scheme, use @samp{emacs -q
+-no-site-file -l auctex}.  The @option{-l} option loads @file{auctex.el}
+which you normally do in your init file.
+@item
+In both above cases, use @samp{runemacs} instead of @samp{emacs} on
+windows.
+@end itemize
+
+After you
 have started Emacs like this, you can load the file triggering the
 error.  If everything is working now, you know that you have to search
 either in the site configuration file or your personal init file for
diff --git a/latex.el b/latex.el
index 56a7a30086..d48522fee0 100644
--- a/latex.el
+++ b/latex.el
@@ -6464,8 +6464,8 @@ If prefix argument FORCE is non-nil, always insert a 
regular hyphen."
 
 (defun LaTeX-maybe-install-toolbar ()
   "Conditionally install tool bar buttons for LaTeX mode.
-Install tool bar if `LaTeX-enable-toolbar' and `tool-bar-mode' is
-non-nil."
+Install tool bar if `LaTeX-enable-toolbar' and `tool-bar-mode'
+are non-nil."
   (when (and LaTeX-enable-toolbar tool-bar-mode)
     ;; Defined in `tex-bar.el':
     (LaTeX-install-toolbar)))
diff --git a/plain-tex.el b/plain-tex.el
index 7feb14d6ac..dd55edee68 100644
--- a/plain-tex.el
+++ b/plain-tex.el
@@ -41,7 +41,7 @@
 (defun plain-TeX-maybe-install-toolbar ()
   "Conditionally install tool bar buttons for plain TeX mode.
 Install tool bar if `plain-TeX-enable-toolbar' and
-`tool-bar-mode' is non-nil."
+`tool-bar-mode' are non-nil."
   (when (and plain-TeX-enable-toolbar tool-bar-mode)
     ;; Defined in `tex-bar.el':
     (TeX-install-toolbar)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]