Commit 6e572113 authored by Andy Stewart's avatar Andy Stewart
Browse files

Switch to *eaf* buffer when catch "abnormally code" exception when

start eaf.
parent 40004648
Loading
Loading
Loading
Loading
+21 −19
Original line number Diff line number Diff line
@@ -424,7 +424,9 @@ For now only EAF browser app is supported."
    (set-process-sentinel
     eaf-process
     #'(lambda (process event)
         (message "%s %s" process event)))
         (when (string-prefix-p "exited abnormally with code" event)
           (switch-to-buffer eaf-name))
         (message "%s %s" process (replace-regexp-in-string "\n$" "" event))))
    (message "EAF process starting...")))

(defun eaf-stop-process ()