dot/emacs: Hide warnings about the server when starting up.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 22 Aug 2019 11:16:15 +0000 (12:16 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 22 Aug 2019 11:16:15 +0000 (12:16 +0100)
These are hardly ever interesting, and eat half of the initial frame.

dot/emacs

index c339a17..051c6d2 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
      (progn (setq server-temp-file-regexp (concat "^" tmpdir "\\|/draft$")
                  edit-server-new-frame nil
                  gnuserv-frame t)
-           (trap (server-start))
+           (trap (let ((warning-suppress-types
+                        (cons '(server) warning-suppress-types)))
+                   (server-start)))
            (trap (progn
                    (require 'edit-server)
                    (edit-server-start)