emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/calc/calc-embed.el


From: Jay Belanger
Subject: [Emacs-diffs] Changes to emacs/lisp/calc/calc-embed.el
Date: Thu, 27 Apr 2006 18:38:37 +0000

Index: emacs/lisp/calc/calc-embed.el
diff -u emacs/lisp/calc/calc-embed.el:1.33 emacs/lisp/calc/calc-embed.el:1.34
--- emacs/lisp/calc/calc-embed.el:1.33  Sun Feb  5 16:19:21 2006
+++ emacs/lisp/calc/calc-embed.el       Thu Apr 27 18:38:37 2006
@@ -932,7 +932,9 @@
                             (substring str pref-len suff-pos)))
                (if (string-match "[^ \t\n]" str)
                    (setq pref-len 0
-                         val (math-read-big-expr str))
+                         val (condition-case nil
+                                  (math-read-big-expr str)
+                                (error (math-read-expr str))))
                  (setq val nil))))
            (if (eq (car-safe val) 'error)
                (setq val (list 'error




reply via email to

[Prev in Thread] Current Thread [Next in Thread]