Anonymous avatar Anonymous committed de4862c

Respect the platform path separator in edt.

Comments (0)

Files changed (2)

+2007-08-14  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* edt.el (edt-load-keys):
+	Respect the platform path separator when working out where to find
+	edt-mapper.el. 
+
 2003-10-31  Norbert Koch  <viteno@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.13 released.
 	       (search-list (append (list (expand-file-name ".")) load-path)))
 	   (while (and (not found) search-list)
 	     (setq path (concat (car search-list)
-				(if (string-match "/$" (car search-list)) "" "/")
+				(if (string-match 
+                                     (string directory-sep-char ?$)
+                                     (car search-list)) "" 
+                                  (string directory-sep-char))
 				file))
 	     (if (and (file-exists-p path) (not (file-directory-p path)))
 		 (setq found t))
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.