changeset 2668 | 7a32b7e6c563 |
parent 2667 | 92ba858ed640 |
child 2737 | a5c43944e1ee |
--- a/contrib/mercurial.el Sat Jul 22 23:30:19 2006 +0900 +++ b/contrib/mercurial.el Sat Jul 22 23:35:16 2006 +0900 @@ -380,7 +380,9 @@ (save-excursion (while hg-prev-buffer (set-buffer hg-prev-buffer)) - (let ((path (or default (buffer-file-name) default-directory))) + (let ((path (or default + (buffer-file-name) + (expand-file-name default-directory)))) (if (or (not path) current-prefix-arg) (expand-file-name (eval (list* 'read-file-name