branch: elpa/with-editor
commit ebf6ee47e4a3a2bcf28d06ccac1b70a8fa5b5efa
Author: Noam Postavsky <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
with-editor-debug: don't run emacsclientw.exe, it makes popup windows
---
with-editor.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/with-editor.el b/with-editor.el
index 86307f2..0071ccd 100644
--- a/with-editor.el
+++ b/with-editor.el
@@ -762,7 +762,8 @@ See info node `(with-editor)Debugging' for instructions."
(--each (with-editor-emacsclient-path)
(insert (format " %s (%s)\n" it (car (file-attributes it))))
(when (file-directory-p it)
- (dolist (exec (directory-files it t "emacsclient"))
+ ;; Don't match emacsclientw.exe, it makes popup windows.
+ (dolist (exec (directory-files it t "emacsclient\\(?:[^w]\\|\\'\\)"))
(insert (format " %s (%s)\n" exec
(with-editor-emacsclient-version exec))))))))