diff options
| author | Juri Linkov | 2008-02-12 23:29:19 +0000 |
|---|---|---|
| committer | Juri Linkov | 2008-02-12 23:29:19 +0000 |
| commit | 5df71560b0f9c577cd23a56d2a726d50932a5c2a (patch) | |
| tree | 5daac83ab0ac33551dc5aa034c41f8802dcb774e | |
| parent | 558ca3c1225f6035442733d5d3fb5fd4c40a0a45 (diff) | |
| download | emacs-5df71560b0f9c577cd23a56d2a726d50932a5c2a.tar.gz emacs-5df71560b0f9c577cd23a56d2a726d50932a5c2a.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 39a63630fae..1b325db45e7 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -1456,6 +1456,7 @@ splash screen in another window." | |||
| 1456 | (with-current-buffer splash-buffer | 1456 | (with-current-buffer splash-buffer |
| 1457 | (let ((inhibit-read-only t)) | 1457 | (let ((inhibit-read-only t)) |
| 1458 | (erase-buffer) | 1458 | (erase-buffer) |
| 1459 | (setq default-directory command-line-default-directory) | ||
| 1459 | (make-local-variable 'startup-screen-inhibit-startup-screen) | 1460 | (make-local-variable 'startup-screen-inhibit-startup-screen) |
| 1460 | (if pure-space-overflow | 1461 | (if pure-space-overflow |
| 1461 | (insert pure-space-overflow-message)) | 1462 | (insert pure-space-overflow-message)) |
| @@ -1554,6 +1555,7 @@ after Emacs starts. If STARTUP is nil, display the About screen." | |||
| 1554 | (with-current-buffer (get-buffer-create "*About GNU Emacs*") | 1555 | (with-current-buffer (get-buffer-create "*About GNU Emacs*") |
| 1555 | (setq buffer-read-only nil) | 1556 | (setq buffer-read-only nil) |
| 1556 | (erase-buffer) | 1557 | (erase-buffer) |
| 1558 | (setq default-directory command-line-default-directory) | ||
| 1557 | (set (make-local-variable 'tab-width) 8) | 1559 | (set (make-local-variable 'tab-width) 8) |
| 1558 | (if (not startup) | 1560 | (if (not startup) |
| 1559 | (set (make-local-variable 'mode-line-format) | 1561 | (set (make-local-variable 'mode-line-format) |