+2007-11-08 David Hansen <david.hansen@gmx.net> (tiny change)
+
+ * eshell/em-dirs.el (eshell-expand-multiple-dots): Change regexp to
+ match dir like "a...b".
+
2007-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
* smerge-mode.el (smerge-refine-subst): Pass "-d" to diff.
(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)