changeset 59982:107c288df93f

(math-compose-expr): Fix a check for language type.
author Jay Belanger <jay.p.belanger@gmail.com>
date Tue, 08 Feb 2005 05:02:09 +0000
parents 14a19fb55a51
children d3632c99711e
files lisp/calc/calccomp.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calc/calccomp.el	Mon Feb 07 21:31:56 2005 +0000
+++ b/lisp/calc/calccomp.el	Tue Feb 08 05:02:09 2005 +0000
@@ -908,7 +908,7 @@
 		       (setq func (substring func 0 (- n)))
 		       (while (>= (setq n (1- n)) 0)
 			 (setq func (concat func " prime")))))
-		 (cond ((and (eq calc-language '(tex latex))
+		 (cond ((and (memq calc-language '(tex latex))
 			     (or (> (length a) 2)
 				 (not (math-tex-expr-is-flat (nth 1 a)))))
 			(setq left "\\left( "