changeset 91809:d28603df5191

(fancy-startup-screen, normal-splash-screen): Set default-directory to command-line-default-directory.
author Juri Linkov <juri@jurta.org>
date Tue, 12 Feb 2008 23:41:08 +0000
parents 72f7da265a92
children 81c282959319
files lisp/startup.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/startup.el	Tue Feb 12 21:43:49 2008 +0000
+++ b/lisp/startup.el	Tue Feb 12 23:41:08 2008 +0000
@@ -1494,6 +1494,7 @@
     (with-current-buffer splash-buffer
       (let ((inhibit-read-only t))
 	(erase-buffer)
+	(setq default-directory command-line-default-directory)
 	(make-local-variable 'startup-screen-inhibit-startup-screen)
 	(if pure-space-overflow
 	    (insert pure-space-overflow-message))
@@ -1592,6 +1593,7 @@
     (with-current-buffer (get-buffer-create "*About GNU Emacs*")
       (setq buffer-read-only nil)
       (erase-buffer)
+      (setq default-directory command-line-default-directory)
       (set (make-local-variable 'tab-width) 8)
       (if (not startup)
 	  (set (make-local-variable 'mode-line-format)