# HG changeset patch # User Oleksandr Gavenko # Date 1325689855 -7200 # Node ID 81c925713d9c1db1bdd29f7050ef54c98b81f77f # Parent 05db92f1e97dd2a105f615f5fce09f00933ec206 Add '.py' and '.sh' as allowed executable extension. diff -r 05db92f1e97d -r 81c925713d9c .emacs-my --- 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"))