(abbreviate-file-name): Don't mistakenly match newlines in file name.
This commit is contained in:
parent
bdd26918c5
commit
e959542d99
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2006-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||||
|
|
||||||
|
* files.el (abbreviate-file-name): Don't mistakenly match newlines in
|
||||||
|
file name.
|
||||||
|
|
||||||
2006-09-06 Ralf Angeli <angeli@caeruleus.net>
|
2006-09-06 Ralf Angeli <angeli@caeruleus.net>
|
||||||
|
|
||||||
* frame.el (display-mm-dimensions-alist): New defcustom.
|
* frame.el (display-mm-dimensions-alist): New defcustom.
|
||||||
|
|
|
@ -1310,7 +1310,7 @@ removes automounter prefixes (see the variable `automount-dir-prefix')."
|
||||||
(setq abbreviated-home-dir
|
(setq abbreviated-home-dir
|
||||||
(let ((abbreviated-home-dir "$foo"))
|
(let ((abbreviated-home-dir "$foo"))
|
||||||
(concat "^" (abbreviate-file-name (expand-file-name "~"))
|
(concat "^" (abbreviate-file-name (expand-file-name "~"))
|
||||||
"\\(/\\|$\\)"))))
|
"\\(/\\|\\'\\)"))))
|
||||||
|
|
||||||
;; If FILENAME starts with the abbreviated homedir,
|
;; If FILENAME starts with the abbreviated homedir,
|
||||||
;; make it start with `~' instead.
|
;; make it start with `~' instead.
|
||||||
|
|
Loading…
Add table
Reference in a new issue