emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 118bb49 1/3: * lisp/w32-fns.el (w32-shell-name): Si


From: Glenn Morris
Subject: [Emacs-diffs] master 118bb49 1/3: * lisp/w32-fns.el (w32-shell-name): Silence compiler.
Date: Wed, 06 May 2015 03:13:26 +0000

branch: master
commit 118bb49ab3f27e6011754e47e3056e917d2dcac1
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * lisp/w32-fns.el (w32-shell-name): Silence compiler.
---
 lisp/w32-fns.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/w32-fns.el b/lisp/w32-fns.el
index 876df87..6f8fa84 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]