diff options
| author | Eli Zaretskii | 2006-12-09 13:09:34 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2006-12-09 13:09:34 +0000 |
| commit | 9a5cd478ea18ebc5660104af92c5c9cb218319d6 (patch) | |
| tree | 88f5cafb65ca708793a40f5dc22e6c7b7e1b73e1 | |
| parent | f248f005db7cde10f8728ac63179966f188c886f (diff) | |
| download | emacs-9a5cd478ea18ebc5660104af92c5c9cb218319d6.tar.gz emacs-9a5cd478ea18ebc5660104af92c5c9cb218319d6.zip | |
(scheme-start-file): Use `let*', not `let'.
| -rw-r--r-- | lisp/cmuscheme.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/cmuscheme.el b/lisp/cmuscheme.el index 3a0c73f040d..d2a7217a1dc 100644 --- a/lisp/cmuscheme.el +++ b/lisp/cmuscheme.el | |||
| @@ -269,9 +269,9 @@ is run). | |||
| 269 | "Return the name of the start file corresponding to PROG. | 269 | "Return the name of the start file corresponding to PROG. |
| 270 | Search in the directories \"~\" and \"~/.emacs.d\", in this | 270 | Search in the directories \"~\" and \"~/.emacs.d\", in this |
| 271 | order. Return nil if no start file found." | 271 | order. Return nil if no start file found." |
| 272 | (let ((progname (file-name-nondirectory prog)) | 272 | (let* ((progname (file-name-nondirectory prog)) |
| 273 | (start-file (concat "~/.emacs_" progname)) | 273 | (start-file (concat "~/.emacs_" progname)) |
| 274 | (alt-start-file (concat "~/.emacs.d/init_" progname ".scm"))) | 274 | (alt-start-file (concat "~/.emacs.d/init_" progname ".scm"))) |
| 275 | (if (file-exists-p start-file) | 275 | (if (file-exists-p start-file) |
| 276 | start-file | 276 | start-file |
| 277 | (and (file-exists-p alt-start-file) alt-start-file)))) | 277 | (and (file-exists-p alt-start-file) alt-start-file)))) |