Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions lisp/with-editor.el
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

;; Package-Version: 3.5.0
;; Package-Requires: (
;; (emacs "26.1")
;; (emacs "28.1")
;; (compat "31.0")
;; (cond-let "1.0"))

Expand Down Expand Up @@ -922,10 +922,9 @@ Also take care of that for `with-editor-[async-]shell-command'."
(or output-buffer
(get-buffer "*Async Shell Command*")))))
(prog1 process
(set-process-filter process
(lambda (proc str)
(comint-output-filter proc str)
(with-editor-process-filter proc str t))))))
(add-function :after (process-filter process)
(lambda (proc str)
(with-editor-process-filter proc str t))))))
((funcall fn command output-buffer error-buffer)))))

;;; _
Expand Down