Browse Source

use `switch-to-buffer

pull/1/head
10sr 13 years ago
parent
commit
5e4ebd1889
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      .emacs.el

+ 6
- 4
.emacs.el View File

@@ -64,10 +64,12 @@


(add-hook 'after-init-hook (add-hook 'after-init-hook
(lambda () (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' (cd ".") ; when using windows use / instead of \ in `default-directory'




Loading…
Cancel
Save