]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/w32-fns.el (w32-shell-name): Silence compiler.
authorGlenn Morris <rgm@gnu.org>
Wed, 6 May 2015 03:10:59 +0000 (20:10 -0700)
committerGlenn Morris <rgm@gnu.org>
Wed, 6 May 2015 03:10:59 +0000 (20:10 -0700)
lisp/w32-fns.el

index 876df875b1b4bf13496e9eddacad61fef8c86dbe..6f8fa840bd3ac2f7bc3154e98120ff3519d9193b 100644 (file)
@@ -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)