changeset 39932:ade54d52bb06

(exec-suffixes): Initialize to a system-dependent value.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 14 Oct 2001 20:08:21 +0000
parents 6409c35c922d
children 89f6eeae2af3
files lisp/bindings.el
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/bindings.el	Sun Oct 14 20:00:28 2001 +0000
+++ b/lisp/bindings.el	Sun Oct 14 20:08:21 2001 +0000
@@ -450,6 +450,14 @@
 	 ".cp" ".fn" ".ky" ".pg" ".tp" ".vr"
 	 ".cps" ".fns" ".kys" ".pgs" ".tps" ".vrs")))
 
+;; Suffixes used for executables.
+(setq exec-suffixes
+      (cond
+       ((memq system-type '(ms-dos windows-nt))
+	'(".exe" ".com" ".bat" ".cmd" ".btm" ""))
+       (t
+	'(""))))
+
 ;; Packages should add to this list appropriately when they are
 ;; loaded, rather than listing everything here.
 (setq debug-ignored-errors