branch: elpa/with-editor
commit c05420c75edaca71b15326d1fba629be9054749f
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
don't use pcase-dolist, not all supported Emacsen have it
Fixes #13.
---
with-editor.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/with-editor.el b/with-editor.el
index fa01a9d..f2269b1 100644
--- a/with-editor.el
+++ b/with-editor.el
@@ -541,7 +541,8 @@ which may or may not insert the text into the PROCESS'
buffer."
(defun server-visit-files--with-editor-file-name-history-exclude
(files _proc &optional _nowait)
- (pcase-dolist (`(,file _) files)
+ (dolist (file files)
+ (setq file (car file))
(when (--any (string-match-p it file)
with-editor-file-name-history-exclude)
(setq file-name-history (delete file file-name-history)))))