From: Mark Wooding Date: Sun, 24 Apr 2016 10:40:07 +0000 (+0100) Subject: dot/emacs: Don't do calendar/diary things if we're trying to start quickly. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/5fd865b5379876da51894d9cd3a4f19e92bd7f3b?ds=inline dot/emacs: Don't do calendar/diary things if we're trying to start quickly. --- diff --git a/dot/emacs b/dot/emacs index 5bb61e2..b8989d7 100644 --- a/dot/emacs +++ b/dot/emacs @@ -122,6 +122,7 @@ ;; Emacs server behaviour. (and (or window-system (mdw-emacs-version-p 23)) + (not mdw-fast-startup) (progn (setq server-temp-file-regexp (concat "^" tmpdir "\\|/draft$") edit-server-new-frame nil gnuserv-frame t) @@ -475,7 +476,7 @@ (display-time) (column-number-mode 1) (trap - (if window-system + (if (and window-system (not mdw-fast-startup)) (let ((calendar-view-diary-initially-flag t)) (calendar))))