[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/assess 6a4aa34ec3 33/95: Fixed multiple string matching
From: |
ELPA Syncer |
Subject: |
[elpa] externals/assess 6a4aa34ec3 33/95: Fixed multiple string matching for face match. |
Date: |
Tue, 19 Jul 2022 15:57:31 -0400 (EDT) |
branch: externals/assess
commit 6a4aa34ec37d9c6c2b57109ad119282f9c33cf6a
Author: Phillip Lord <phillip.lord@russet.org.uk>
Commit: Phillip Lord <phillip.lord@russet.org.uk>
Fixed multiple string matching for face match.
---
sisyphus.el | 7 ++-----
test/sisyphus-test.el | 2 --
2 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/sisyphus.el b/sisyphus.el
index 687597473f..850f4fef10 100644
--- a/sisyphus.el
+++ b/sisyphus.el
@@ -7,7 +7,7 @@
;; Author: Phillip Lord <phillip.lord@russet.org.uk>
;; Maintainer: Phillip Lord <phillip.lord@russet.org.uk>
;; Version: 0.1
-;; Package-Requires: ((emacs "24.4")(m-buffer "0.13")(dash "2.12.0"))
+;; Package-Requires: ((emacs "24.4")(m-buffer "0.14")(dash "2.12.0"))
;; The contents of this file are subject to the GPL License, Version 3.0.
@@ -901,10 +901,7 @@ the copy of FILE will be in a different directory."
((integerp first-location)
(m-buffer-pos-to-marker buffer locations))
((stringp first-location)
- ;; this function does not exist yet -- should find the first
- ;; occurance of exactly the first string, then the first
- ;; occurrence of the next and so on
- (m-buffer-find-string buffer locations))
+ (m-buffer-match-multi locations :buffer buffer))
;; markers
((markerp first-location)
locations)
diff --git a/test/sisyphus-test.el b/test/sisyphus-test.el
index 295fef1e1b..5f0710eb32 100644
--- a/test/sisyphus-test.el
+++ b/test/sisyphus-test.el
@@ -437,9 +437,7 @@ This also tests the advice on string=."
(m-buffer-match buf "defun"))
'font-lock-keyword-face)))
-;; Need extra support from m-buffer.
(ert-deftest sisyphus-test-face-at-with-strings ()
- :expected-result :failed
(should
(sisyphus-face-at=
"(defun x ())\n(defun y ())\n(defun z ())"
- [elpa] externals/assess eb3336543c 13/95: declare debug for `sisyphus-with-preserved-buffer-list'., (continued)
- [elpa] externals/assess eb3336543c 13/95: declare debug for `sisyphus-with-preserved-buffer-list'., ELPA Syncer, 2022/07/19
- [elpa] externals/assess af8b3a8d8b 14/95: with-temp-buffers now works like let., ELPA Syncer, 2022/07/19
- [elpa] externals/assess 238d9028e2 19/95: Support for indentation checking., ELPA Syncer, 2022/07/19
- [elpa] externals/assess b3f9a7cf97 04/95: Require cl-lib, local emacs test override., ELPA Syncer, 2022/07/19
- [elpa] externals/assess 196470b1e1 08/95: New function buffer-string=, ELPA Syncer, 2022/07/19
- [elpa] externals/assess dae3a60f7a 09/95: Docstring fix., ELPA Syncer, 2022/07/19
- [elpa] externals/assess c6e666413a 21/95: Merge branch 'master' of github.com:phillord/sisyphus, ELPA Syncer, 2022/07/19
- [elpa] externals/assess 83973f4047 23/95: Add dash as a dependency., ELPA Syncer, 2022/07/19
- [elpa] externals/assess f33b371177 25/95: Specify minimum dash version, ELPA Syncer, 2022/07/19
- [elpa] externals/assess 3e74c4b70d 30/95: Add test for string font-lock comparison., ELPA Syncer, 2022/07/19
- [elpa] externals/assess 6a4aa34ec3 33/95: Fixed multiple string matching for face match.,
ELPA Syncer <=
- [elpa] externals/assess 5dde98a124 31/95: Merge branch 'master' of github.com:phillord/sisyphus, ELPA Syncer, 2022/07/19
- [elpa] externals/assess 0eb198f05e 40/95: Documentation Fix., ELPA Syncer, 2022/07/19
- [elpa] externals/assess c0bdc94e49 41/95: Remove erroneous debug statement., ELPA Syncer, 2022/07/19
- [elpa] externals/assess 2db9834e4e 44/95: Rework Makefile for update to cask, ELPA Syncer, 2022/07/19
- [elpa] externals/assess e820ccf163 05/95: Emacs 24.4 or later., ELPA Syncer, 2022/07/19
- [elpa] externals/assess 3f89d8601f 15/95: Port tests to sisyphus with-temp-buffers., ELPA Syncer, 2022/07/19
- [elpa] externals/assess acb460e26c 16/95: All git-snapshot., ELPA Syncer, 2022/07/19
- [elpa] externals/assess 2e42c93191 06/95: Remove debug statement., ELPA Syncer, 2022/07/19
- [elpa] externals/assess eb56d9627d 07/95: String diff file save is now silent., ELPA Syncer, 2022/07/19
- [elpa] externals/assess a459abe966 11/95: New macro `sisyphus-with-preserved-buffer-list'., ELPA Syncer, 2022/07/19