* term/ns-win.el (ns-find-file): Expand ns-input-file with
command-line-default-directory (Bug#7872). NOTE: The trunk version is a bit different, I think there will be merge conflicts.
This commit is contained in:
parent
ea08011c7e
commit
ca9c274ae7
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-01-26 Roy Liu <carsomyr@gmail.com> (tiny change)
|
||||
|
||||
* term/ns-win.el (ns-find-file): Expand ns-input-file with
|
||||
command-line-default-directory (Bug#7872).
|
||||
|
||||
2011-01-25 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* comint.el (comint-mode): Doc fix. (Bug#7897)
|
||||
|
|
|
@ -787,7 +787,8 @@ unless the current buffer is a scratch buffer."
|
|||
"Do a `find-file' with the `ns-input-file' as argument."
|
||||
(interactive)
|
||||
(let ((f) (file) (bufwin1) (bufwin2))
|
||||
(setq f (file-truename (car ns-input-file)))
|
||||
(setq f (file-truename (expand-file-name (car ns-input-file)
|
||||
command-line-default-directory)))
|
||||
(setq ns-input-file (cdr ns-input-file))
|
||||
(setq file (find-file-noselect f))
|
||||
(setq bufwin1 (get-buffer-window file 'visible))
|
||||
|
|
Loading…
Add table
Reference in a new issue