diff options
| author | Stefan Monnier | 2007-03-06 02:18:05 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-03-06 02:18:05 +0000 |
| commit | bea15365791a34c878767f7d649489235f405ce7 (patch) | |
| tree | 9d931d8d912fa12973af5cae4a5e3c265bae6be8 | |
| parent | 6db153642d6f3115f486625bc3d303df61ed8db8 (diff) | |
| download | emacs-bea15365791a34c878767f7d649489235f405ce7.tar.gz emacs-bea15365791a34c878767f7d649489235f405ce7.zip | |
(completion-setup-function): Improve last fix so it doesn't
set it to a relative directory name either.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/simple.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 526ae274a43..71c53b0a132 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-03-06 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * simple.el (completion-setup-function): Improve last fix so it doesn't | ||
| 4 | set it to a relative directory name either. | ||
| 5 | |||
| 1 | 2007-03-05 Vinicius Jose Latorre <viniciusjl@ig.com.br> | 6 | 2007-03-05 Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 2 | 7 | ||
| 3 | * ps-print.el: Replace some (defvar VAR) by (defvar VAR nil). | 8 | * ps-print.el: Replace some (defvar VAR) by (defvar VAR nil). |
diff --git a/lisp/simple.el b/lisp/simple.el index 4b3ebecb12c..c1e61a57fc5 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -5088,8 +5088,8 @@ of the minibuffer before point is always the common substring.)") | |||
| 5088 | ;; so it will get copied into the completion list buffer. | 5088 | ;; so it will get copied into the completion list buffer. |
| 5089 | (if minibuffer-completing-file-name | 5089 | (if minibuffer-completing-file-name |
| 5090 | (with-current-buffer mainbuf | 5090 | (with-current-buffer mainbuf |
| 5091 | (setq default-directory (or (file-name-directory mbuf-contents) | 5091 | (setq default-directory |
| 5092 | default-directory)))) | 5092 | (file-name-directory (expand-file-name mbuf-contents))))) |
| 5093 | (with-current-buffer standard-output | 5093 | (with-current-buffer standard-output |
| 5094 | (completion-list-mode) | 5094 | (completion-list-mode) |
| 5095 | (set (make-local-variable 'completion-reference-buffer) mainbuf) | 5095 | (set (make-local-variable 'completion-reference-buffer) mainbuf) |