From: Glenn Morris Date: Wed, 6 May 2015 03:10:59 +0000 (-0700) Subject: * lisp/w32-fns.el (w32-shell-name): Silence compiler. X-Git-Tag: emacs-25.0.90~2189 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=118bb49ab3f27e6011754e47e3056e917d2dcac1;p=emacs.git * lisp/w32-fns.el (w32-shell-name): Silence compiler. --- 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)