瀏覽代碼

use `switch-to-buffer

pull/1/head
10sr 13 年之前
父節點
當前提交
5e4ebd1889
共有 1 個檔案被更改,包括 6 行新增4 行删除
  1. +6
    -4
      .emacs.el

+ 6
- 4
.emacs.el 查看文件

@@ -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'



Loading…
取消
儲存