]> git.eshelyaron.com Git - emacs.git/commitdiff
(math-check-known-square-matrixp): Change order in which value is checked.
authorJay Belanger <jay.p.belanger@gmail.com>
Mon, 10 Oct 2005 19:59:18 +0000 (19:59 +0000)
committerJay Belanger <jay.p.belanger@gmail.com>
Mon, 10 Oct 2005 19:59:18 +0000 (19:59 +0000)
lisp/calc/calc-arith.el

index 810ed7bdd9f849880521f03ab65da1f118903447..feb3c9d25a84165c87bb7ffd56e000876880d21a 100644 (file)
            (cond
             ((memq 'sqmatrix (nth 1 decl))
              t)
-            ((memq 'matrix (nth 1 decl))
-             nil)
             ((and (eq (car a) 'var)
                   (boundp (nth 2 a))
                   (setq val (symbol-value (nth 2 a))))
                    (eq calc-matrix-mode 'sqmatrix))
                   (eq (car-safe a) 'var))
              t)
+            ((memq 'matrix (nth 1 decl))
+             nil)
             (t
              nil))))))