branch: externals/auctex
commit cd3996645123ff65659f06acb2851b26720309af
Author: Ikumi Keita <[email protected]>
Commit: Ikumi Keita <[email protected]>
; Fix typos
* latex.el (LaTeX--after-math-macro-prefix-p):
* preview.el.in (preview-TeX-style-cooked, preview-TeX-style-dir):
Fix typos in doc strings.
---
latex.el | 2 +-
preview.el.in | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/latex.el b/latex.el
index 510d4bf..898eec8 100644
--- a/latex.el
+++ b/latex.el
@@ -6040,7 +6040,7 @@ i.e. you do _not_ have to cater for this yourself by
adding \\\\' or $."
Also sets `match-data' so that group 1 is the already typed
prefix.
-For example, in $a + \a| - 17$ with | denoting point, the
+For example, in $a + \\a| - 17$ with | denoting point, the
function would return non-nil and `(match-string 1)' would return
\"a\" afterwards."
(and (texmathp)
diff --git a/preview.el.in b/preview.el.in
index e6eceeb..9dd1cef 100644
--- a/preview.el.in
+++ b/preview.el.in
@@ -2365,7 +2365,7 @@ filename=%s>
(defun preview-TeX-style-cooked ()
"Return `preview-TeX-style-dir' in cooked form.
-This will be fine for prepending to a `TEXINPUT' style
+This will be fine for prepending to a `TEXINPUTS' style
environment variable, including an initial `.' at the front."
(if (or (zerop (length preview-TeX-style-dir))
(member (substring preview-TeX-style-dir -1) '(";" ":")))
@@ -2422,7 +2422,7 @@ systems, or `;' on Windows-like systems. And it should be
preceded with .: or .; accordingly in order to have . first in
the search path.
-The `TEXINPUT' environment type variables will get this prepended
+The `TEXINPUTS' environment type variables will get this prepended
at load time calling \\[preview-set-texinputs] to reflect this.
You can permanently install the style files using
\\[preview-install-styles].