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.
This commit is contained in:
@@ -2288,7 +2288,7 @@ the United States."
|
||||
(calc-alg-digit-entry)
|
||||
(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))
|
||||
(buf
|
||||
|
||||
Reference in New Issue
Block a user