branch: elpa
commit d9910d4b368c7b084fc677c81e7abbf4fd285b99
Author: Ikumi Keita <[email protected]>
Commit: Mosè Giordano <[email protected]>
Fix small errors in doc string and comment
* tex.el (TeX-auto-add-type): Change the word `function' to `macro'
and add an `s' to the verb `create'.
* tex-buf.el (TeX-run-format): Correct a typo `debuger' to `debugger'.
Signed-off-by: Mosè Giordano <[email protected]>
---
tex-buf.el | 2 +-
tex.el | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tex-buf.el b/tex-buf.el
index 2b1e1a3..a132222 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1023,7 +1023,7 @@ Return the new process."
(TeX-run-set-command name command)
(let ((buffer (TeX-process-buffer-name file))
(process (TeX-run-command name command file)))
- ;; Hook to TeX debuger.
+ ;; Hook to TeX debugger.
(with-current-buffer buffer
(TeX-parse-reset)
(setq TeX-parse-function #'TeX-parse-TeX)
diff --git a/tex.el b/tex.el
index 026824d..7ca5bb2 100644
--- a/tex.el
+++ b/tex.el
@@ -3755,7 +3755,7 @@ The algorithm is as follows:
Optional third argument PLURAL is the plural form of TYPE.
By default just add an `s'.
-This function create a set of variables and functions to maintain a
+This macro creates a set of variables and functions to maintain a
separate type of information in the parser."
(let* ((names (or plural (concat name "s")))
(tmp (intern (concat prefix "-auto-" name)))