]> git.eshelyaron.com Git - emacs.git/commitdiff
progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from `path-separator'.
authorJuanma Barranquero <lekktu@gmail.com>
Sun, 30 May 2010 02:51:53 +0000 (04:51 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Sun, 30 May 2010 02:51:53 +0000 (04:51 +0200)
lisp/ChangeLog
lisp/progmodes/ada-xref.el

index edde627ac200433873f12608e028e49564432875..86c8945a2720a5a7857513a06e0f8bde6a01a9e4 100644 (file)
@@ -1,3 +1,8 @@
+2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
+
+       * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
+       `path-separator', but maintain compatibility with Emacs 20.2.
+
 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
 
        * server.el (server-process-filter): Receive parent-id argument
index 5eefe3406467ee4060c23e6c618193b3fef5580c..9b43a0629bf346bc303a0c630650120b173937ec 100644 (file)
@@ -108,10 +108,9 @@ the Ada mode project."
   :type 'string :group 'ada)
 
 (defcustom ada-prj-ada-project-path-sep
-  (if (or (equal system-type 'windows-nt)
-         (equal system-type 'ms-dos))
-      ";"
-    ":")
+  (cond ((boundp 'path-separator) path-separator) ; 20.3+
+       ((memq system-type '(windows-nt ms-dos)) ";")
+       (t ":"))
   "Default separator for ada_project_path project variable."
   :type 'string :group 'ada)