aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/diff.el
diff options
context:
space:
mode:
authorKaroly Lorentey2004-04-27 15:53:30 +0000
committerKaroly Lorentey2004-04-27 15:53:30 +0000
commit6c8caecfb9c96879b8ea6f1e08314408be40a832 (patch)
treecec3e345d246fe9b789786da588c5c6334215679 /lisp/diff.el
parentced7ed5611e2a6e60a5ac7a97e165545843d0fa9 (diff)
parentc4c07982c1a6b3ddd9339ecdb9af1876f70d8792 (diff)
downloademacs-6c8caecfb9c96879b8ea6f1e08314408be40a832.tar.gz
emacs-6c8caecfb9c96879b8ea6f1e08314408be40a832.zip
Merged in changes from CVS trunk.
Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-241 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-242 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-243 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-244 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-245 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-246 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-247 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-248 src/lisp.h (CYCLE_CHECK): Macro moved from xfaces.c * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-249 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-250 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-251 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-252 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-253 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-254 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-255 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-153
Diffstat (limited to 'lisp/diff.el')
-rw-r--r--lisp/diff.el2
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