diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2016-09-29 20:43:34 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2016-09-29 20:43:34 +0200 |
| commit | c05420c75edaca71b15326d1fba629be9054749f (patch) | |
| tree | 84fe2e8e8dca558cec6a3b0b6ece3b52ad2d650e | |
| parent | ecff6bb717c7a775228c7171c2b2fe67868b849f (diff) | |
don't use pcase-dolist, not all supported Emacsen have itv2.5.5
Fixes #13.
| -rw-r--r-- | with-editor.el | 3 |
1 files changed, 2 insertions, 1 deletions
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))))) |
