mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(calc-set-language,math-read-big-rec): Let math-expr-opers equal the
function math-standard-ops rather than the variable math-standard-opers.
This commit is contained in:
parent
1dccbfee1a
commit
09be88b3d3
1 changed files with 2 additions and 2 deletions
|
|
@ -35,7 +35,7 @@
|
|||
;;; Alternate entry/display languages.
|
||||
|
||||
(defun calc-set-language (lang &optional option no-refresh)
|
||||
(setq math-expr-opers (or (get lang 'math-oper-table) math-standard-opers)
|
||||
(setq math-expr-opers (or (get lang 'math-oper-table) (math-standard-ops))
|
||||
math-expr-function-mapping (get lang 'math-function-table)
|
||||
math-expr-special-function-mapping (get lang 'math-special-function-table)
|
||||
math-expr-variable-mapping (get lang 'math-variable-table)
|
||||
|
|
@ -1225,7 +1225,7 @@
|
|||
h (1+ v) (1+ h) math-rb-v2)
|
||||
(string-match "<=\\|>=\\|\\+/-\\|!=\\|&&\\|||\\|:=\\|=>\\|." line h)
|
||||
(assoc (math-match-substring line 0)
|
||||
math-standard-opers)))
|
||||
(math-standard-ops))))
|
||||
(and (>= (nth 2 widest) prec)
|
||||
(setq h (match-end 0)))
|
||||
(and (not (eq (string-match ",\\|;\\|\\.\\.\\|)\\|\\]\\|:" line h)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue