diff options
| author | Juri Linkov | 2008-02-12 23:41:08 +0000 |
|---|---|---|
| committer | Juri Linkov | 2008-02-12 23:41:08 +0000 |
| commit | 4222d0a4f34b32d303d9ce998964ef9da3cd21a8 (patch) | |
| tree | 7bb0854e77ce14a8b2a940964f4eff3a98660708 | |
| parent | 34a3c5871ceb01071d4645eb1a042bd0bcc77448 (diff) | |
| download | emacs-4222d0a4f34b32d303d9ce998964ef9da3cd21a8.tar.gz emacs-4222d0a4f34b32d303d9ce998964ef9da3cd21a8.zip | |
(fancy-startup-screen, normal-splash-screen):
Set default-directory to command-line-default-directory.
| -rw-r--r-- | lisp/startup.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index 7139b7a5c07..7e030e7f635 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -1494,6 +1494,7 @@ splash screen in another window." | |||
| 1494 | (with-current-buffer splash-buffer | 1494 | (with-current-buffer splash-buffer |
| 1495 | (let ((inhibit-read-only t)) | 1495 | (let ((inhibit-read-only t)) |
| 1496 | (erase-buffer) | 1496 | (erase-buffer) |
| 1497 | (setq default-directory command-line-default-directory) | ||
| 1497 | (make-local-variable 'startup-screen-inhibit-startup-screen) | 1498 | (make-local-variable 'startup-screen-inhibit-startup-screen) |
| 1498 | (if pure-space-overflow | 1499 | (if pure-space-overflow |
| 1499 | (insert pure-space-overflow-message)) | 1500 | (insert pure-space-overflow-message)) |
| @@ -1592,6 +1593,7 @@ after Emacs starts. If STARTUP is nil, display the About screen." | |||
| 1592 | (with-current-buffer (get-buffer-create "*About GNU Emacs*") | 1593 | (with-current-buffer (get-buffer-create "*About GNU Emacs*") |
| 1593 | (setq buffer-read-only nil) | 1594 | (setq buffer-read-only nil) |
| 1594 | (erase-buffer) | 1595 | (erase-buffer) |
| 1596 | (setq default-directory command-line-default-directory) | ||
| 1595 | (set (make-local-variable 'tab-width) 8) | 1597 | (set (make-local-variable 'tab-width) 8) |
| 1596 | (if (not startup) | 1598 | (if (not startup) |
| 1597 | (set (make-local-variable 'mode-line-format) | 1599 | (set (make-local-variable 'mode-line-format) |