emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/eshell/em-dirs.el, v [EMACS_22_BASE]


From: Vinicius Jose Latorre
Subject: [Emacs-diffs] Changes to emacs/lisp/eshell/em-dirs.el, v [EMACS_22_BASE]
Date: Thu, 08 Nov 2007 17:14:48 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Vinicius Jose Latorre <viniciusjl>      07/11/08 17:14:46

Index: eshell/em-dirs.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/eshell/em-dirs.el,v
retrieving revision 1.20.2.1
retrieving revision 1.20.2.2
diff -u -b -r1.20.2.1 -r1.20.2.2
--- eshell/em-dirs.el   25 Jul 2007 04:14:28 -0000      1.20.2.1
+++ eshell/em-dirs.el   8 Nov 2007 17:14:46 -0000       1.20.2.2
@@ -319,7 +319,7 @@
     (before translate-multiple-dots
            (filename &optional directory) activate)
     (setq filename (eshell-expand-multiple-dots filename)))"
-  (while (string-match "\\.\\.\\(\\.+\\)" path)
+  (while (string-match "\\(?:^\\|/\\)\\.\\.\\(\\.+\\)\\(?:$\\|/\\)" path)
     (let* ((extra-dots (match-string 1 path))
           (len (length extra-dots))
           replace-text)




reply via email to

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