Commit f04232c3 authored by John Paul Wallington's avatar John Paul Wallington

(tex-validate-buffer): Use distinct strings rather than

programatically constructing message.
parent 11715f92
2004-08-30 John Paul Wallington <jpw@gnu.org>
* textmodes/tex-mode.el (tex-validate-buffer): Use distinct
strings rather than programatically constructing message.
2004-08-30 Richard M. Stallman <rms@gnu.org>
* emacs-lisp/lisp-mode.el (prin1-char): Don't turn S-a into A.
......
......@@ -1145,9 +1145,10 @@ on the line for the invalidity you want to see."
(if no-matches
(insert "None!\n"))
(if (interactive-p)
(message "%s mismatch%s found"
(if no-matches "No" num-matches)
(if (> num-matches 1) "es" ""))))))))
(message (cond (no-matches "No mismatches found")
((= num-matches 1) "1 mismatch found")
(t "%d mismatches found"))
num-matches)))))))
(defun tex-validate-region (start end)
"Check for mismatched braces or $'s in region.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment