summaryrefslogtreecommitdiff
path: root/lisp/w32-fns.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2015-05-05 20:10:59 -0700
committerGlenn Morris <rgm@gnu.org>2015-05-05 20:10:59 -0700
commit118bb49ab3f27e6011754e47e3056e917d2dcac1 (patch)
treeb82aa8c6167c15deb9eb817f9317a222cddd1bbe /lisp/w32-fns.el
parentd804150fb26c5c46cf8c7bc6bac1cbf88c3d5bed (diff)
downloademacs-118bb49ab3f27e6011754e47e3056e917d2dcac1.tar.gz
* lisp/w32-fns.el (w32-shell-name): Silence compiler.
Diffstat (limited to 'lisp/w32-fns.el')
-rw-r--r--lisp/w32-fns.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/w32-fns.el b/lisp/w32-fns.el
index 876df875b1b..6f8fa840bd3 100644
--- a/lisp/w32-fns.el
+++ b/lisp/w32-fns.el
@@ -44,7 +44,7 @@
(or (bound-and-true-p shell-file-name)
(getenv "ESHELL")
(getenv "SHELL")
- (and (w32-using-nt) "cmd.exe")
+ (and (fboundp 'w32-using-nt) (w32-using-nt) "cmd.exe")
"command.com"))
(defun w32-system-shell-p (shell-name)