1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-12 09:28:24 +00:00

(locate-dominating-stop-dir-regexp): Add terminal

directory separator to UNC path case (Bug#3252).
This commit is contained in:
Jason Rumney 2009-05-20 12:53:54 +00:00
parent 4a83454db6
commit 41c4018353
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-05-20 Jason Rumney <jasonr@gnu.org>
* files.el (locate-dominating-stop-dir-regexp): Add terminal
directory separator to UNC path case (Bug#3252).
2009-05-20 Chong Yidong <cyd@stupidchicken.com> 2009-05-20 Chong Yidong <cyd@stupidchicken.com>
* international/encoded-kb.el (encoded-kbd-setup-display): Change * international/encoded-kb.el (encoded-kbd-setup-display): Change

View File

@ -742,7 +742,7 @@ PATH-AND-SUFFIXES is a pair of lists, (DIRECTORIES . SUFFIXES)."
(make-obsolete 'locate-file-completion 'locate-file-completion-table "23.1") (make-obsolete 'locate-file-completion 'locate-file-completion-table "23.1")
(defvar locate-dominating-stop-dir-regexp (defvar locate-dominating-stop-dir-regexp
"\\`\\(?:[\\/][\\/][^\\/]+\\|/\\(?:net\\|afs\\|\\.\\.\\.\\)/\\)\\'" "\\`\\(?:[\\/][\\/][^\\/]+[\\/]\\|/\\(?:net\\|afs\\|\\.\\.\\.\\)/\\)\\'"
"Regexp of directory names which stop the search in `locate-dominating-file'. "Regexp of directory names which stop the search in `locate-dominating-file'.
Any directory whose name matches this regexp will be treated like Any directory whose name matches this regexp will be treated like
a kind of root directory by `locate-dominating-file' which will stop its search a kind of root directory by `locate-dominating-file' which will stop its search