.emacs-my
changeset 858 81c925713d9c
parent 857 05db92f1e97d
child 860 934358ccdc16
--- a/.emacs-my	Wed Jan 04 00:33:56 2012 +0200
+++ b/.emacs-my	Wed Jan 04 17:10:55 2012 +0200
@@ -354,6 +354,12 @@
   (modify-coding-system-alist 'process "gnutls-cli" '(binary . binary))
   )
 
+(when (eq window-system 'w32)
+  (add-to-list 'exec-suffixes ".py")
+  (add-to-list 'exec-suffixes ".sh")
+  (defun executable-find (command) (locate-file command exec-path exec-suffixes))
+  )
+
 (ansi-color-for-comint-mode-on)
 
 (setq explicit-bash-args '("-i"))