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

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

bug#54730: AW: bug#54730: 28.1; vhdl-update-sensitivity-list not working


From: Robert Pluim
Subject: bug#54730: AW: bug#54730: 28.1; vhdl-update-sensitivity-list not working in Windows
Date: Tue, 05 Apr 2022 20:09:28 +0200

>>>>> On Tue, 5 Apr 2022 17:53:20 +0000, Cyril Arnould 
>>>>> <cyril.arnould@outlook.com> said:

    Cyril> Nice, it’s working! Too bad this didn’t make it into the 28.1 
release, I guess I should have
    Cyril> tested more. So for now the solution is to keep the vhdl-mode.el 
locally until it finds its
    Cyril> way into a maintenance release?

Yes. Eli might decide to put it in 28.2

An alternative (shorter) fix would be this. Stefan, is there a
preference for how these types of lexical-binding bugs are fixed?

diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el
index c6693b4de5..a0e7f8a82f 100644
--- a/lisp/progmodes/vhdl-mode.el
+++ b/lisp/progmodes/vhdl-mode.el
@@ -8453,8 +8453,8 @@ vhdl-update-sensitivity-list
          ;; scan for signals read in process
          (while scan-regions-list
            (goto-char proc-mid)
-           (while (and (setq beg (eval (nth 0 (car scan-regions-list))))
-                       (setq end (eval (nth 1 (car scan-regions-list)))))
+           (while (and (setq beg (eval (nth 0 (car scan-regions-list)) 
`((proc-end . ,proc-end))))
+                       (setq end (eval (nth 1 (car scan-regions-list)) 
`((proc-end . ,proc-end)))))
              (goto-char beg)
              (unless (or (vhdl-in-literal)
                          (and seq-region-list

Robert
-- 





reply via email to

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