code-cleanup
This commit is contained in:
parent
f139b013c3
commit
a3b882775d
1
init.el
1
init.el
@ -118,7 +118,6 @@
|
|||||||
;; Plus
|
;; Plus
|
||||||
(require 'init-rainbow)
|
(require 'init-rainbow)
|
||||||
(require 'init-web-mode)
|
(require 'init-web-mode)
|
||||||
(require 'init-ready)
|
|
||||||
(require 'init-dokuwiki))
|
(require 'init-dokuwiki))
|
||||||
|
|
||||||
;;; Loads custom file
|
;;; Loads custom file
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
;;; init-ready.el --- .Emacs Configuration -*- lexical-binding: t -*-
|
|
||||||
;;; Commentary:
|
|
||||||
;;
|
|
||||||
|
|
||||||
;;; Code:
|
|
||||||
;;-------------------------
|
|
||||||
;; Emacs Ready :)
|
|
||||||
;;-------------------------
|
|
||||||
(add-hook 'emacs-startup-hook
|
|
||||||
(lambda ()
|
|
||||||
(message "Emacs ready in %s with %d garbage collections."
|
|
||||||
(format "%.2f seconds"
|
|
||||||
(float-time
|
|
||||||
(time-subtract after-init-time before-init-time)))
|
|
||||||
gcs-done)))
|
|
||||||
|
|
||||||
(provide 'init-ready)
|
|
||||||
;;; init-ready.el ends here
|
|
@ -18,17 +18,6 @@
|
|||||||
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
|
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
|
||||||
'(2 "_NET_WM_STATE_FULLSCREEN" 0)))
|
'(2 "_NET_WM_STATE_FULLSCREEN" 0)))
|
||||||
|
|
||||||
;;----------------------------------------------------------------------------
|
|
||||||
;; Runtime Emacs
|
|
||||||
;;----------------------------------------------------------------------------
|
|
||||||
(defun elapsed-time ()
|
|
||||||
"Return a message string if the current doc string is invalid.
|
|
||||||
Emacs runtime: See the following URL for more details.
|
|
||||||
https://emacs.stackexchange.com/questions/13535/function-to-get-init-el-file-loading-times-multiple-times?rq=1"
|
|
||||||
(let ((elapsed (float-time (time-subtract (current-time)
|
|
||||||
emacs-start-time))))
|
|
||||||
(message "[STARTUP] Loading %s ... done (%.3fs)" load-file-name elapsed)))
|
|
||||||
|
|
||||||
(provide 'myemacs)
|
(provide 'myemacs)
|
||||||
|
|
||||||
;; Local Variables:
|
;; Local Variables:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user