changeset 91883:984503c8d1a0

(emacs-startup-time): Rename to `before-init-time'. (before-init-time): New name for `emacs-startup-time'. (command-line): Use before-init-time rather than emacs-startup-time.
author Glenn Morris <rgm@gnu.org>
date Sat, 16 Feb 2008 22:20:12 +0000
parents c694afffaf41
children 927a69bb381a
files lisp/startup.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/startup.el	Sat Feb 16 21:39:31 2008 +0000
+++ b/lisp/startup.el	Sat Feb 16 22:20:12 2008 +0000
@@ -194,8 +194,8 @@
 therefore, if you set `debug-on-error' non-nil in `.emacs',
 an error in one of these functions will invoke the debugger.")
 
-(defvar emacs-startup-time nil
-  "Value of `current-time' when Emacs was started.")
+(defvar before-init-time nil
+  "Value of `current-time' before Emacs begins initialization.")
 
 (defvar emacs-startup-hook nil
   "Normal hook run after loading init files and handling the command line.")
@@ -628,7 +628,7 @@
     (nreverse rest)))
 
 (defun command-line ()
-  (setq emacs-startup-time (current-time)
+  (setq before-init-time (current-time)
         command-line-default-directory default-directory)
 
   ;; Choose a reasonable location for temporary files.