Skip to content

Commit

Permalink
use split string
Browse files Browse the repository at this point in the history
  • Loading branch information
chachie committed May 18, 2023
1 parent 316575c commit 4e16d13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
- name: Setup Emacs
uses: purcell/setup-emacs@master
with:
version: '29.1'
version: '28.2'
- name: Run tests
run: 'emacs -batch -L . -l ert -l lisp-diary-tests.el -f ert-run-tests-batch-and-exit'
2 changes: 1 addition & 1 deletion lisp-diary.el
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Use `repeat' \\[repeat] to search forward again."
"[^][]*" ,(string-join word-list "[^][]*")
"[^][]*" ,closing-bracket))
)
(search-words-permutations (string-split keywords " ")))
(search-words-permutations (split-string keywords " ")))
pipe)))
(if search (or (re-search-forward regex nil t)
(re-search-backward regex))
Expand Down

0 comments on commit 4e16d13

Please sign in to comment.