Pārlūkot izejas kodu

use `switch-to-buffer

pull/1/head
10sr pirms 13 gadiem
vecāks
revīzija
5e4ebd1889
1 mainītis faili ar 6 papildinājumiem un 4 dzēšanām
  1. +6
    -4
      .emacs.el

+ 6
- 4
.emacs.el Parādīt failu

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



Notiek ielāde…
Atcelt
Saglabāt