diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-04-10 00:37:52 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-04-10 00:37:52 +0000 |
commit | 328c069714ae705f93fc09607e47f5c19ddf2353 (patch) | |
tree | 11cdd33a7da11482c56ed7d0874fe5eabf622adb /lisp/complete.el | |
parent | 3e7562b11e7f32f5947ce4a054456eb2386c5c38 (diff) | |
download | emacs-328c069714ae705f93fc09607e47f5c19ddf2353.tar.gz |
(PC-try-load-many-files): Set truename.
Diffstat (limited to 'lisp/complete.el')
-rw-r--r-- | lisp/complete.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/complete.el b/lisp/complete.el index 50855ebd804..c12e2ce95cb 100644 --- a/lisp/complete.el +++ b/lisp/complete.el @@ -676,16 +676,20 @@ or properties are considered." (kill-buffer (current-buffer)) (or files (error "No matching files")) + ;; Bring the other files (not the first) into buffers. (save-window-excursion (while (setq next (cdr next)) (let ((buf (find-file-noselect (car next)))) + ;; Put this buffer at the front of the buffer list. (switch-to-buffer buf)))) - ;; This modifies the "buf" variable inside find-file-noselect. + ;; This modifies the `buf' variable inside find-file-noselect. (setq buf (get-file-buffer first)) (if buf nil ; should do verify-visited-file-modtime stuff. (setq filename first) (setq buf (create-file-buffer filename)) + ;; This modified `truename' inside find-file-noselect. + (setq truename (abbreviate-file-name (file-truename filename))) (set-buffer buf) (erase-buffer) (insert-file-contents filename t)) |