(scheme-start-file): Use let*', not let'.
This commit is contained in:
parent
f248f005db
commit
9a5cd478ea
1 changed files with 3 additions and 3 deletions
|
|
@ -269,9 +269,9 @@ is run).
|
|||
"Return the name of the start file corresponding to PROG.
|
||||
Search in the directories \"~\" and \"~/.emacs.d\", in this
|
||||
order. Return nil if no start file found."
|
||||
(let ((progname (file-name-nondirectory prog))
|
||||
(start-file (concat "~/.emacs_" progname))
|
||||
(alt-start-file (concat "~/.emacs.d/init_" progname ".scm")))
|
||||
(let* ((progname (file-name-nondirectory prog))
|
||||
(start-file (concat "~/.emacs_" progname))
|
||||
(alt-start-file (concat "~/.emacs.d/init_" progname ".scm")))
|
||||
(if (file-exists-p start-file)
|
||||
start-file
|
||||
(and (file-exists-p alt-start-file) alt-start-file))))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue