diff options
| -rw-r--r-- | lisp/startup.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index fcdc376c5ff..d5225bdcb30 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -2393,7 +2393,7 @@ nil default-directory" name) | |||
| 2393 | ;; Take file from default dir if it exists there; | 2393 | ;; Take file from default dir if it exists there; |
| 2394 | ;; otherwise let `load' search for it. | 2394 | ;; otherwise let `load' search for it. |
| 2395 | (file-ex (expand-file-name file))) | 2395 | (file-ex (expand-file-name file))) |
| 2396 | (when (file-exists-p file-ex) | 2396 | (when (file-regular-p file-ex) |
| 2397 | (setq file file-ex)) | 2397 | (setq file file-ex)) |
| 2398 | (load file nil t))) | 2398 | (load file nil t))) |
| 2399 | 2399 | ||