From 5c9fad4128d6d8284e91d8284765acae76573655 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 16 Feb 2008 22:20:12 +0000 Subject: [PATCH] (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. --- lisp/startup.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/startup.el b/lisp/startup.el index 7e030e7f635..1b420436b52 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -194,8 +194,8 @@ There is no `condition-case' around the running of these functions; 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 @@ opening the first frame (e.g. open a connection to an X server).") (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. -- 2.39.5