aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2018-11-10 20:19:09 -0500
committerJesús <heckyel@hyperbola.info>2018-11-10 20:19:09 -0500
commit9bcab5d2625e9e14344bb4dfee74a668ec68055c (patch)
treed5e2cbdacd052d0c75caec7d84cf52b7b8306558
parenta097edaebc399fa52f57850a7d3e3046a9d7fc65 (diff)
downloademacs-personal-9bcab5d2625e9e14344bb4dfee74a668ec68055c.tar.lz
emacs-personal-9bcab5d2625e9e14344bb4dfee74a668ec68055c.tar.xz
emacs-personal-9bcab5d2625e9e14344bb4dfee74a668ec68055c.zip
Show message «Done! emacs»
-rw-r--r--init.el1
-rw-r--r--lisp/init-ready.el13
2 files changed, 14 insertions, 0 deletions
diff --git a/init.el b/init.el
index e894889..2e2197f 100644
--- a/init.el
+++ b/init.el
@@ -61,6 +61,7 @@
(require 'init-rainbow)
(require 'init-web-mode)
(require 'init-mmm-mode)
+(require 'init-ready)
;;; Loads custom file
(when (file-exists-p custom-file)
diff --git a/lisp/init-ready.el b/lisp/init-ready.el
new file mode 100644
index 0000000..787a5d0
--- /dev/null
+++ b/lisp/init-ready.el
@@ -0,0 +1,13 @@
+;;-------------------------
+;; Emacs Ready :)
+;;-------------------------
+
+(add-hook 'emacs-startup-hook
+ (lambda ()
+ (message "Emacs cargado en %s y listo para ser usado."
+ (format "%.2f segundos"
+ (float-time
+ (time-subtract after-init-time before-init-time)))
+ gcs-done)))
+
+(provide 'init-ready)