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

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

bug#71774: 31.0.50; Hash table weakness broken?


From: Stefan Monnier
Subject: bug#71774: 31.0.50; Hash table weakness broken?
Date: Wed, 26 Jun 2024 10:11:51 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

>> Martin, can you confirm that it fixes the problem for you (so I can
>> install it on `emacs-30`)?
> Unless I did something wrong it does not fix the problem for me.

Duh, I reversed the condition.
Can you (re)try with the patch below?


        Stefan


diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index 7d0312eb2a4..4aa9d9714cd 100644
--- a/lisp/progmodes/elisp-mode.el
+++ b/lisp/progmodes/elisp-mode.el
@@ -1633,7 +1633,8 @@ eval-last-sexp
 If `eval-expression-debug-on-error' is non-nil, which is the default,
 this command arranges for all errors to enter the debugger."
   (interactive "P")
-  (values--store-value
+  (funcall
+   (if eval-expression-debug-on-error #'identity #'values--store-value)
    (handler-bind ((error (if eval-expression-debug-on-error
                              #'eval-expression--debug #'ignore)))
      (elisp--eval-last-sexp eval-last-sexp-arg-internal))))






reply via email to

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