branch: externals/el-job
commit 474bff18adaefb0592a7895edb50404758f92614
Author: Martin Edström <[email protected]>
Commit: Martin Edström <[email protected]>
Comments
---
el-job-ng.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/el-job-ng.el b/el-job-ng.el
index 41df9884bf..d82e790d9a 100644
--- a/el-job-ng.el
+++ b/el-job-ng.el
@@ -359,7 +359,9 @@ ID can also be passed to these helpers:
((and (eq (process-status proc) 'exit)
(eq (process-exit-status proc) 0)
(equal event "finished\n"))
- ;; NOTE: No particular buffer should be current now.
+ ;; NOTE: No particular buffer should be current now, because this
+ ;; may run the user-provided callback which should be free to do
+ ;; whatever to the window configuration.
(el-job-ng--handle-finished-child proc buf job)
(when (and (= 0 el-job-ng--debug-lvl)
(buffer-live-p buf))