bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#40185: #40185: 28.0.50; Emacs Calc selection of a sub-formula doesn'


From: Narendra Joshi
Subject: bug#40185: #40185: 28.0.50; Emacs Calc selection of a sub-formula doesn't highlight it
Date: Mon, 23 Mar 2020 20:06:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Mattias Engdegård <mattiase@acm.org> writes:

Thanks for the quick fix. It seems to be working. Can you please help me understand what exactly the issue was and how declaring the variable
fixed it? I see that it is `defvar`ed  in `calc-ext.el`.

Thanks for the report. Does this patch help?

diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el
index 4b2a938a5f..4e4fb67173 100644
--- a/lisp/calc/calc.el
+++ b/lisp/calc/calc.el
@@ -2927,6 +2927,7 @@ math-div-float
+(defvar math-comp-selected)
 (defvar calc-selection-cache-entry)
 ;;; Format the number A as a string.  [X N; X Z] [Public]
 (defun math-format-stack-value (entry)


--
Narendra Joshi





reply via email to

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