# HG changeset patch # User Juri Linkov # Date 1203203938 0 # Node ID dc9cca14cbb139daa5603cbe5408ab4599098d5f # Parent 0c3cd5512b5dda229dce4ac5425168cb1f3d1b10 Add after-init-time and emacs-init-time. diff -r 0c3cd5512b5d -r dc9cca14cbb1 etc/NEWS --- a/etc/NEWS Sat Feb 16 23:18:14 2008 +0000 +++ b/etc/NEWS Sat Feb 16 23:18:58 2008 +0000 @@ -136,10 +136,14 @@ readable string of days, hours, etc. ** The new variable `before-init-time' records the value of `current-time' -when Emacs begins initialization. +when Emacs begins initialization, and the new variable `after-init-time' +records the value of `current-time' after loading the init files. ** The new function `emacs-uptime' returns the uptime of an Emacs instance. +** The new function `emacs-init-time' returns the duration of the +Emacs initialization. + * Startup Changes in Emacs 23.1