code-cleanup

This commit is contained in:
Jesús 2019-05-14 12:57:26 -05:00
parent f139b013c3
commit a3b882775d
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
3 changed files with 0 additions and 30 deletions

View File

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

View 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

View File

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