aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2015-06-11 20:47:45 -0400
committerGlenn Morris2015-06-11 20:47:45 -0400
commitabeb7f3c5f5139c393057467cf85ffb8457aff30 (patch)
tree644c7c54fa1fcaedd96066897ef90fe764cf74d7
parentebbc6a4782c279527c52d6b1d8b379517aeec2d5 (diff)
downloademacs-abeb7f3c5f5139c393057467cf85ffb8457aff30.tar.gz
emacs-abeb7f3c5f5139c393057467cf85ffb8457aff30.zip
; * lisp/startup.el (normal-top-level): Fix previous change.
-rw-r--r--lisp/startup.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index b638ed50cc6..370e7aee771 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -590,12 +590,12 @@ It is the default value of the variable `top-level'."
590 (and (stringp pwd) 590 (and (stringp pwd)
591 ;; Use FOO/., so that if FOO is a symlink, file-attributes 591 ;; Use FOO/., so that if FOO is a symlink, file-attributes
592 ;; describes the directory linked to, not FOO itself. 592 ;; describes the directory linked to, not FOO itself.
593 (or (equal (file-attributes 593 (or (and default-directory
594 (equal (file-attributes
594 (concat (file-name-as-directory pwd) ".")) 595 (concat (file-name-as-directory pwd) "."))
595 (if default-directory 596 (file-attributes
596 (file-attributes 597 (concat (file-name-as-directory default-directory)
597 (concat (file-name-as-directory default-directory) 598 "."))))
598 "."))))
599 (setq process-environment 599 (setq process-environment
600 (delete (concat "PWD=" pwd) 600 (delete (concat "PWD=" pwd)
601 process-environment))))) 601 process-environment)))))