X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/0121d32af5f58b284815da9c571f829f0f9e9186..a72a9fbbbc9cd5f5933719b11489c2578eb0aa59:/lisp/w32-fns.el diff --git a/lisp/w32-fns.el b/lisp/w32-fns.el index 2cbeb49d54..6f8fa840bd 100644 --- a/lisp/w32-fns.el +++ b/lisp/w32-fns.el @@ -1,6 +1,6 @@ ;;; w32-fns.el --- Lisp routines for 32-bit Windows -;; Copyright (C) 1994, 2001-2014 Free Software Foundation, Inc. +;; Copyright (C) 1994, 2001-2015 Free Software Foundation, Inc. ;; Author: Geoff Voelker ;; Keywords: internal @@ -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)