summaryrefslogtreecommitdiff
path: root/src/emacs.c
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2008-10-06 16:16:56 +0000
committerChong Yidong <cyd@stupidchicken.com>2008-10-06 16:16:56 +0000
commit90503d9633729365554f465f8e6f59c9f68bd95d (patch)
treec0f9df1e89e3f608a4eac8e09896efd7a41f25c1 /src/emacs.c
parent8cc11c8cba1da91cef1d947e20cbbf43a85e7cf2 (diff)
downloademacs-90503d9633729365554f465f8e6f59c9f68bd95d.tar.gz
(Vbefore_init_time, Vafter_init_time): Moved from startup.el.
Diffstat (limited to 'src/emacs.c')
-rw-r--r--src/emacs.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 2fb975c0fc1..56ddb733432 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -131,6 +131,9 @@ Lisp_Object Vinvocation_directory;
nil means get them only from PATH_LOADSEARCH. */
Lisp_Object Vinstallation_directory;
+/* The values of `current-time' before and after Emacs initialization. */
+Lisp_Object Vbefore_init_time, Vafter_init_time;
+
/* Hook run by `kill-emacs' before it does really anything. */
Lisp_Object Vkill_emacs_hook;
@@ -2497,6 +2500,15 @@ was found. */);
DEFVAR_LISP ("previous-system-time-locale", &Vprevious_system_time_locale,
doc: /* Most recently used system locale for time. */);
Vprevious_system_time_locale = Qnil;
+
+ DEFVAR_LISP ("before-init-time", &Vbefore_init_time,
+ doc: /* Value of `current-time' before Emacs begins initialization. */);
+ Vbefore_init_time = Qnil;
+
+ DEFVAR_LISP ("after-init-time", &Vafter_init_time,
+ doc: /* Value of `current-time' after loading the init files.
+This is nil during initialization. */);
+ Vafter_init_time = Qnil;
}
/* arch-tag: 7bfd356a-c720-4612-8ab6-aa4222931c2e