emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/hyperbole 6c5002e670: Remove not needed recursion-depth


From: ELPA Syncer
Subject: [elpa] externals/hyperbole 6c5002e670: Remove not needed recursion-depth check (#417)
Date: Sun, 10 Dec 2023 16:02:22 -0500 (EST)

branch: externals/hyperbole
commit 6c5002e67061f4cc51a7e5ab7a237880d55709c6
Author: Mats Lidell <mats.lidell@lidells.se>
Commit: GitHub <noreply@github.com>

    Remove not needed recursion-depth check (#417)
---
 ChangeLog               | 5 +++++
 test/hy-test-helpers.el | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f259459e94..f598e0ae02 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-12-09  Mats Lidell  <matsl@gnu.org>
+
+* test/hy-test-helpers.el (hy-test-helpers:consume-input-events): Remove
+    not needed recursion-depth check.
+
 2023-12-07  Mats Lidell  <matsl@gnu.org>
 
 * test/hywconfig-tests.el (hywconfig-tests--remove-ring)
diff --git a/test/hy-test-helpers.el b/test/hy-test-helpers.el
index ddb7e95dd3..c20d35a73b 100644
--- a/test/hy-test-helpers.el
+++ b/test/hy-test-helpers.el
@@ -3,7 +3,7 @@
 ;; Author:       Mats Lidell <matsl@gnu.org>
 ;;
 ;; Orig-Date:    30-Jan-21 at 12:00:00
-;; Last-Mod:      7-Jul-23 at 17:09:59 by Mats Lidell
+;; Last-Mod:     31-Oct-23 at 22:48:26 by Mats Lidell
 ;;
 ;; SPDX-License-Identifier: GPL-3.0-or-later
 ;;
@@ -24,7 +24,7 @@
 
 (defun hy-test-helpers:consume-input-events ()
   "Use recusive-edit to consume the events kbd-key generates."
-  (run-with-timer 0.1 nil (lambda () (if (< 0 (recursion-depth)) 
(exit-recursive-edit))))
+  (run-with-timer 0.1 nil (lambda () (exit-recursive-edit)))
   (recursive-edit))
 
 (defun hy-test-helpers:should-last-message (msg)



reply via email to

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