|
|
@@ -64,10 +64,12 @@ |
|
|
|
|
|
|
|
(add-hook 'after-init-hook |
|
|
|
(lambda () |
|
|
|
(message "init time: %d msec" |
|
|
|
(+ (* (- (nth 1 after-init-time) (nth 1 before-init-time)) 1000) |
|
|
|
(/ (- (nth 2 after-init-time) (nth 2 before-init-time)) 1000))) |
|
|
|
(switch-to-buffer "*Messages*"))) |
|
|
|
;; (message "init time: %d msec" |
|
|
|
;; (+ (* (- (nth 1 after-init-time) (nth 1 before-init-time)) 1000) |
|
|
|
;; (/ (- (nth 2 after-init-time) (nth 2 before-init-time)) 1000))) |
|
|
|
(message (emacs-init-time)) |
|
|
|
(switch-to-buffer "*Messages*") |
|
|
|
)) |
|
|
|
|
|
|
|
(cd ".") ; when using windows use / instead of \ in `default-directory' |
|
|
|
|
|
|
|