diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/init-ready.el | 18 | ||||
-rw-r--r-- | modules/lib/myemacs.el | 11 |
2 files changed, 0 insertions, 29 deletions
diff --git a/modules/init-ready.el b/modules/init-ready.el deleted file mode 100644 index dba8a0f..0000000 --- a/modules/init-ready.el +++ /dev/null @@ -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 diff --git a/modules/lib/myemacs.el b/modules/lib/myemacs.el index 1800e97..5325ee9 100644 --- a/modules/lib/myemacs.el +++ b/modules/lib/myemacs.el @@ -18,17 +18,6 @@ (x-send-client-message nil 0 nil "_NET_WM_STATE" 32 '(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) ;; Local Variables: |