dot/emacs: Don't do calendar/diary things if we're trying to start quickly.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 24 Apr 2016 10:40:07 +0000 (11:40 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 24 Apr 2016 10:40:07 +0000 (11:40 +0100)
dot/emacs

index 5bb61e2..b8989d7 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
 ;; 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)
 (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))))