 ;; Do linum setup after a 1 second idle time after emacs has loaded
 (use-package setup-linum
   :defer 1)
-;; Do desktop setup after a 2 second idle time after emacs has loaded
-;; By then linum would have loaded and the desktop loaded files will show
+;; Do desktop setup after linum setup so that the desktop loaded files will show
 ;; linum if enabled for that major mode or if enabled globally
-(use-package setup-desktop
-  :defer 2)
+(with-eval-after-load "setup-linum"
+  (require 'setup-desktop))
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (require 'setup-misc) ; This MUST be the last required package

;; Time-stamp: <2015-04-23 12:47:04 kmodi>
;; Author: Kaushal Modi

;; Record the start time

        sunshine
        swiper
        sx
        symon ; system monitor in mode-line
        tiny
        undo-tree ; supercool undo visualization
        use-package ; optimize package loading
