aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorStefan Kangas2022-11-18 15:48:22 +0100
committerStefan Kangas2022-11-18 16:02:19 +0100
commitba485eb949ddec53b1d7b5d78f3fcfbe2be60d7d (patch)
treeaee24e35b156969e2450699b3d02621bcec3375e /lisp/textmodes
parentc116d9f74c8fc81a7e98b1519fa300998a8a15c3 (diff)
downloademacs-ba485eb949ddec53b1d7b5d78f3fcfbe2be60d7d.tar.gz
emacs-ba485eb949ddec53b1d7b5d78f3fcfbe2be60d7d.zip
; Fix typos
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/reftex-cite.el2
-rw-r--r--lisp/textmodes/reftex-index.el2
-rw-r--r--lisp/textmodes/tex-mode.el4
3 files changed, 4 insertions, 4 deletions
diff --git a/lisp/textmodes/reftex-cite.el b/lisp/textmodes/reftex-cite.el
index f3f95627af1..41a5b52f993 100644
--- a/lisp/textmodes/reftex-cite.el
+++ b/lisp/textmodes/reftex-cite.el
@@ -96,7 +96,7 @@ Find the bof of the current file."
96 "Return list of bibfiles for current document. 96 "Return list of bibfiles for current document.
97When using the chapterbib or bibunits package you should either 97When using the chapterbib or bibunits package you should either
98use the same database files everywhere, or separate parts using 98use the same database files everywhere, or separate parts using
99different databases into different files (included into the mater file). 99different databases into different files (included into the master file).
100Then this function will return the applicable database files." 100Then this function will return the applicable database files."
101 101
102 ;; Ensure access to scanning info 102 ;; Ensure access to scanning info
diff --git a/lisp/textmodes/reftex-index.el b/lisp/textmodes/reftex-index.el
index 075ad666b3d..38d6ebe7e6f 100644
--- a/lisp/textmodes/reftex-index.el
+++ b/lisp/textmodes/reftex-index.el
@@ -1807,7 +1807,7 @@ With optional arg ALLOW-NEWLINE, allow single newline between words."
1807(defun reftex-index-phrases-find-dup-re (phrase &optional sub) 1807(defun reftex-index-phrases-find-dup-re (phrase &optional sub)
1808 "Return a regexp which matches variations of PHRASE (with additional space). 1808 "Return a regexp which matches variations of PHRASE (with additional space).
1809When SUB ins non-nil, the regexp will also match when PHRASE is a subphrase 1809When SUB ins non-nil, the regexp will also match when PHRASE is a subphrase
1810of another phrase. The regexp works lonly in the phrase buffer." 1810of another phrase. The regexp works only in the phrase buffer."
1811 (concat (if sub "^\\S-?\t\\([^\t\n]*" "^\\S-?\t") 1811 (concat (if sub "^\\S-?\t\\([^\t\n]*" "^\\S-?\t")
1812 (mapconcat #'regexp-quote (split-string phrase) " +") 1812 (mapconcat #'regexp-quote (split-string phrase) " +")
1813 (if sub "[^\t\n]*\\)\\([\t\n]\\|$\\)" " *\\([\t\n]\\|$\\)"))) 1813 (if sub "[^\t\n]*\\)\\([\t\n]\\|$\\)" " *\\([\t\n]\\|$\\)")))
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index ca0312d8fb0..a1914a8cc82 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -2238,7 +2238,7 @@ of the current buffer."
2238 "&"))) 2238 "&")))
2239 2239
2240(defun tex-uptodate-p (file) 2240(defun tex-uptodate-p (file)
2241 "Return non-nil if FILE is not uptodate w.r.t the document source files. 2241 "Return non-nil if FILE is not up-to-date w.r.t the document source files.
2242FILE is typically the output DVI or PDF file." 2242FILE is typically the output DVI or PDF file."
2243 ;; We should check all the files included !!! 2243 ;; We should check all the files included !!!
2244 (and 2244 (and
@@ -2375,7 +2375,7 @@ Only applies the FSPEC to the args part of FORMAT."
2375 (push cmd tmp))) 2375 (push cmd tmp)))
2376 ;; Only remove if there's something left. 2376 ;; Only remove if there's something left.
2377 (if tmp (setq cmds (nreverse tmp)))) 2377 (if tmp (setq cmds (nreverse tmp))))
2378 ;; Remove commands whose input is not uptodate either. 2378 ;; Remove commands whose input is not up-to-date either.
2379 (let ((outs (delq nil (mapcar (lambda (x) (nth 2 x)) cmds))) 2379 (let ((outs (delq nil (mapcar (lambda (x) (nth 2 x)) cmds)))
2380 (tmp nil)) 2380 (tmp nil))
2381 (dolist (cmd cmds) 2381 (dolist (cmd cmds)