From: Mattias Engdegård Date: Tue, 19 Jan 2021 10:55:13 +0000 (+0100) Subject: Parse square root sign in embedded Calc mode X-Git-Tag: emacs-28.0.90~4214 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5369b69bd86ee6d9565a82842cbeb37749cd5a6b;p=emacs.git 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. --- diff --git a/lisp/calc/calc-lang.el b/lisp/calc/calc-lang.el index b4b2d4cc4f4..0117f449dd5 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)