auctex-diffs
[Top][All Lists]
Advanced

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

master 22fa6709 1/2: ; Fix doc strings


From: Ikumi Keita
Subject: master 22fa6709 1/2: ; Fix doc strings
Date: Thu, 15 Dec 2022 05:33:41 -0500 (EST)

branch: master
commit 22fa670915fb1fb6a08b60c7bb5acfb79684dd55
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>

    ; Fix doc strings
    
    * tex.el (TeX-command-list): Quote Lisp symbols.
    (TeX-insert-braces): Fix a typo.
    * latex.el (LaTeX--completion-annotation-from-math-menu)
    (LaTeX-completion-parse-args):
    Rewrite "e.g." and "i.e." in doc strings, following `(elisp)
    Documentation Tips'.
---
 latex.el |  6 +++---
 tex.el   | 30 +++++++++++++++---------------
 2 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/latex.el b/latex.el
index 29ac9502..0a49fccd 100644
--- a/latex.el
+++ b/latex.el
@@ -6304,8 +6304,8 @@ See also `LaTeX-math-menu'."
 (defun LaTeX--completion-annotation-from-math-menu (sym)
   "Return a completion annotation for a SYM.
 The annotation is usually a unicode representation of the macro
-SYM's compiled representation, e.g., if SYM is alpha, α is
-returned."
+SYM's compiled representation, for example, if SYM is alpha, α
+is returned."
   (catch 'found
     (dolist (var (list LaTeX-math-list LaTeX-math-default))
       (dolist (e var)
@@ -7535,7 +7535,7 @@ COLLECTION is an list of strings."
 (defun LaTeX-completion-parse-args (entry)
   "Return the match of buffer position ENTRY with AUCTeX macro definitions.
 ENTRY is generated by the function `LaTeX-what-macro'.  This
-function matches the current buffer position (i.e., which macro
+function matches the current buffer position (that is, which macro
 argument) with the corresponding definition in `TeX-symbol-list'
 or `LaTeX-environment-list' and returns it."
   (let* ((name (nth 0 entry))
diff --git a/tex.el b/tex.el
index f7b822f5..9671d5f3 100644
--- a/tex.el
+++ b/tex.el
@@ -270,41 +270,41 @@ expanded.  The expansion is done using the information 
found in
 The third element is the function which actually start the process.
 Several such hooks have been defined:
 
-TeX-run-command: Start up the process and show the output in a
+`TeX-run-command': Start up the process and show the output in a
 separate buffer.  Check that there is not two commands running for the
 same file.  Return the process object.
 
-TeX-run-format: As `TeX-run-command', but assume the output is created
+`TeX-run-format': As `TeX-run-command', but assume the output is created
 by a TeX macro package.  Return the process object.
 
-TeX-run-TeX: For TeX output.
+`TeX-run-TeX': For TeX output.
 
-TeX-run-interactive: Run TeX or LaTeX interactively.
+`TeX-run-interactive': Run TeX or LaTeX interactively.
 
-TeX-run-BibTeX: For BibTeX output.
+`TeX-run-BibTeX': For BibTeX output.
 
-TeX-run-Biber: For Biber output.
+`TeX-run-Biber': For Biber output.
 
-TeX-run-compile: Use `compile' to run the process.
+`TeX-run-compile': Use `compile' to run the process.
 
-TeX-run-shell: Use `shell-command' to run the process.
+`TeX-run-shell': Use `shell-command' to run the process.
 
-TeX-run-discard: Start the process in the background, discarding its
+`TeX-run-discard': Start the process in the background, discarding its
 output.
 
-TeX-run-background: Start the process in the background, show output
+`TeX-run-background': Start the process in the background, show output
 in other window.
 
-TeX-run-silent: Start the process in the background.
+`TeX-run-silent': Start the process in the background.
 
-TeX-run-discard-foreground: Start the process in the foreground,
+`TeX-run-discard-foreground': Start the process in the foreground,
 discarding its output.
 
-TeX-run-function: Execute the Lisp function or function call
+`TeX-run-function': Execute the Lisp function or function call
 specified by the string in the second element.  Consequently,
 this hook does not start a process.
 
-TeX-run-discard-or-function: If the command is a Lisp function,
+`TeX-run-discard-or-function': If the command is a Lisp function,
 execute it as such, otherwise start the command as a process,
 discarding its output.
 
@@ -3260,7 +3260,7 @@ See `completion-at-point-functions'."
 (make-variable-buffer-local 'TeX-default-macro)
 
 (defcustom TeX-insert-braces t
-  "If non-nil, append a empty pair of braces after inserting a macro.
+  "If non-nil, append an empty pair of braces after inserting a macro.
 
 See also `TeX-insert-braces-alist'."
   :group 'TeX-macro



reply via email to

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