emacs-diffs
[Top][All Lists]
Advanced

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

master 5369b69 2/2: Parse square root sign in embedded Calc mode


From: Mattias Engdegård
Subject: master 5369b69 2/2: Parse square root sign in embedded Calc mode
Date: Tue, 19 Jan 2021 10:12:08 -0500 (EST)

branch: master
commit 5369b69bd86ee6d9565a82842cbeb37749cd5a6b
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    Parse square root sign in embedded Calc mode
    
    * lisp/calc/calc-lang.el (math-read-big-rec): Recognise √ since it may
    be used in Big mode.
---
 lisp/calc/calc-lang.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/calc/calc-lang.el b/lisp/calc/calc-lang.el
index b4b2d4c..0117f44 100644
--- a/lisp/calc/calc-lang.el
+++ b/lisp/calc/calc-lang.el
@@ -2181,7 +2181,7 @@ order to Calc's."
                   v math-read-big-baseline))
 
            ;; Small radical sign.
-           ((and (= other-char ?V)
+           ((and (memq other-char '(?V ?√))
                  (= (math-read-big-char (1+ math-rb-h1) (1- v)) ?\_))
             (setq h (1+ math-rb-h1))
             (math-read-big-emptyp math-rb-h1 math-rb-v1 h (1- v) nil t)



reply via email to

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