mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-30 08:09:04 +00:00
(math-compose-expr): Fix a check for language type.
This commit is contained in:
parent
bae45dc3a9
commit
1867200e45
@ -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( "
|
||||
|
Loading…
Reference in New Issue
Block a user