Przeglądaj źródła

use `switch-to-buffer

pull/1/head
10sr 13 lat temu
rodzic
commit
5e4ebd1889
1 zmienionych plików z 6 dodań i 4 usunięć
  1. +6
    -4
      .emacs.el

+ 6
- 4
.emacs.el Wyświetl plik

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



Ładowanie…
Anuluj
Zapisz