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

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

[elpa] externals/hyperbole caae492f4a: fast-demo-key-series-shell-apropo


From: ELPA Syncer
Subject: [elpa] externals/hyperbole caae492f4a: fast-demo-key-series-shell-apropos: Allow opt. space before section
Date: Mon, 20 Jun 2022 17:57:39 -0400 (EDT)

branch: externals/hyperbole
commit caae492f4abd500ca306bf711301112edae09541
Author: Bob Weiner <rsw@gnu.org>
Commit: Bob Weiner <rsw@gnu.org>

    fast-demo-key-series-shell-apropos: Allow opt. space before section
---
 ChangeLog          | 3 +++
 test/demo-tests.el | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c4d5604869..19b7a3cc4c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2022-06-19  Bob Weiner  <rsw@gnu.org>
 
+* test/demo-tests.el (fast-demo-key-series-shell-apropos): Allow optional space
+    before matching section number.
+
 * hui-treemacs.el: Change to load and compile only when the treemacs package is
     installed (rather than triggering an error if this is loaded when treemacs
     is missing, since this can happen when building/compiling Hyperbole).
diff --git a/test/demo-tests.el b/test/demo-tests.el
index 055557f684..4060d9ce8e 100644
--- a/test/demo-tests.el
+++ b/test/demo-tests.el
@@ -3,7 +3,7 @@
 ;; Author:       Mats Lidell <matsl@gnu.org>
 ;;
 ;; Orig-Date:    30-Jan-21 at 12:00:00
-;; Last-Mod:     14-Jun-22 at 00:26:10 by Mats Lidell
+;; Last-Mod:     19-Jun-22 at 20:25:19 by Bob Weiner
 ;;
 ;; Copyright (C) 2021  Free Software Foundation, Inc.
 ;; See the "HY-COPY" file for license information.
@@ -586,7 +586,7 @@ enough files with matching mode loaded."
                (setq buf-len (point-max))
                (accept-process-output)
                (sleep-for 0.1)))
-            (should (string-match-p "\ngrep\(1\).*-" 
(buffer-substring-no-properties (point-min) (point-max))))))
+            (should (string-match-p "\ngrep ?\(1\).*-" 
(buffer-substring-no-properties (point-min) (point-max))))))
       (set-process-query-on-exit-flag (get-buffer-process shell-buffer-name) 
nil)
       (kill-buffer shell-buffer-name))))
 



reply via email to

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