mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-05 20:43:08 +00:00
Change regexp to match dir like 'a...b'
This commit is contained in:
parent
f56f00fa57
commit
661192e6b7
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -319,7 +319,7 @@ in the minibuffer:
|
||||
(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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user