From: Mark Wooding Date: Thu, 22 Aug 2019 11:16:15 +0000 (+0100) Subject: dot/emacs: Hide warnings about the server when starting up. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/6ab0c397e3f506dc509458fb66df5dee275a1cf2 dot/emacs: Hide warnings about the server when starting up. These are hardly ever interesting, and eat half of the initial frame. --- diff --git a/dot/emacs b/dot/emacs index c339a17..051c6d2 100644 --- a/dot/emacs +++ b/dot/emacs @@ -133,7 +133,9 @@ (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)