emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r113150: Simplify last change to ido.el


From: Leo Liu
Subject: [Emacs-diffs] trunk r113150: Simplify last change to ido.el
Date: Mon, 24 Jun 2013 04:09:29 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 113150
revision-id: address@hidden
parent: address@hidden
committer: Leo Liu <address@hidden>
branch nick: trunk
timestamp: Mon 2013-06-24 12:08:10 +0800
message:
  Simplify last change to ido.el
modified:
  lisp/ido.el                    ido.el-20091113204419-o5vbwnq5f7feedwu-2430
=== modified file 'lisp/ido.el'
--- a/lisp/ido.el       2013-06-24 02:15:56 +0000
+++ b/lisp/ido.el       2013-06-24 04:08:10 +0000
@@ -2141,9 +2141,9 @@
                    done t)
            (setq ido-set-default-item t)))
 
-        ((if (memq system-type '(windows-nt ms-dos))
-             (string-match "\\`[a-zA-Z]:\\|[\\][^\\]" ido-selected)
-           (string-match "/[^/]" ido-selected))
+        ((string-match (if (memq system-type '(windows-nt ms-dos))
+                           "\\`[a-zA-Z]:\\|[\\][^\\]"
+                         "/[^/]") ido-selected)
          (ido-set-current-directory (file-name-directory ido-selected))
          (setq ido-set-default-item t))
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]