diff options
Diffstat (limited to 'lisp/diff.el')
| -rw-r--r-- | lisp/diff.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/diff.el b/lisp/diff.el index 231130db212..76b1b5e60a7 100644 --- a/lisp/diff.el +++ b/lisp/diff.el | |||
| @@ -111,6 +111,7 @@ With prefix arg, prompt for diff switches." | |||
| 111 | ,(shell-quote-argument (or new-alt new))) | 111 | ,(shell-quote-argument (or new-alt new))) |
| 112 | " ")) | 112 | " ")) |
| 113 | (buf (get-buffer-create "*Diff*")) | 113 | (buf (get-buffer-create "*Diff*")) |
| 114 | (thisdir default-directory) | ||
| 114 | proc) | 115 | proc) |
| 115 | (save-excursion | 116 | (save-excursion |
| 116 | (display-buffer buf) | 117 | (display-buffer buf) |
| @@ -125,6 +126,7 @@ With prefix arg, prompt for diff switches." | |||
| 125 | (diff ',old ',new ',switches ',no-async))) | 126 | (diff ',old ',new ',switches ',no-async))) |
| 126 | (set (make-local-variable 'diff-old-temp-file) old-alt) | 127 | (set (make-local-variable 'diff-old-temp-file) old-alt) |
| 127 | (set (make-local-variable 'diff-new-temp-file) new-alt) | 128 | (set (make-local-variable 'diff-new-temp-file) new-alt) |
| 129 | (setq default-directory thisdir) | ||
| 128 | (insert command "\n") | 130 | (insert command "\n") |
| 129 | (if (and (not no-async) (fboundp 'start-process)) | 131 | (if (and (not no-async) (fboundp 'start-process)) |
| 130 | (progn | 132 | (progn |