Commit c556aabd authored by Mattias Engdegård's avatar Mattias Engdegård

Calc: fix interval entry (bug#39040)

* lisp/calc/calc.el (calcDigit-start): Initialise calc-prev-char to
something more reasonable, so that non-algebraic entry of intervals
whose start is a single digit, like (1..10), works properly.
Reported by Michel Schinz.
parent 91cd3c13
Pipeline #4528 passed with stage
in 57 minutes and 51 seconds
......@@ -2288,7 +2288,7 @@ the United States."
(setq calc-aborted-prefix nil)
(let* ((calc-digit-value nil)
(calc-prev-char nil)
(calc-prev-char last-command-event)
(calc-prev-prev-char nil)
(calc-buffer (current-buffer))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment