dot/emacs: Mark the `edit-server' process as expendable.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 31 Mar 2010 09:11:34 +0000 (10:11 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 31 Mar 2010 09:11:34 +0000 (10:11 +0100)
Don't want it holding up closedown.  I should submit a bug about this.

dot/emacs

index ed2d4d1..ea038b8 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
            (trap (server-start))
            (trap (progn
                    (require 'edit-server)
-                   (edit-server-start)))))
+                   (edit-server-start)
+                   (let ((edit (get-process "edit-server")))
+                     (and edit
+                          (set-process-query-on-exit-flag edit nil)))))))
 
 ;; Control backup behaviour.