Commit 06789559 authored by Andrew Innes's avatar Andrew Innes

(command-line) [windows-nt]: Fix typo in regexp

checking for .emacs[.el[c]].
parent d3c00496
......@@ -708,7 +708,7 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
((eq system-type 'ms-dos)
(concat "~" init-file-user "/_emacs"))
((eq system-type 'windows-nt)
(if (directory-files "~" nil "^\.emacs\\(\.elc?\\)?$")
(if (directory-files "~" nil "^\\.emacs\\(\\.elc?\\)?$")
"~/.emacs"
"~/_emacs"))
((eq system-type 'vax-vms)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment