;;;###autoload
(defcustom diff-switches "-c"
- "*A string or list of strings specifying switches to be be passed to diff."
+ "*A string or list of strings specifying switches to be passed to diff."
:type '(choice string (repeat string))
:group 'diff)
,(shell-quote-argument (or new-alt new)))
" "))
(buf (get-buffer-create "*Diff*"))
+ (thisdir default-directory)
proc)
(save-excursion
(display-buffer buf)
(diff ',old ',new ',switches ',no-async)))
(set (make-local-variable 'diff-old-temp-file) old-alt)
(set (make-local-variable 'diff-new-temp-file) new-alt)
+ (setq default-directory thisdir)
(insert command "\n")
(if (and (not no-async) (fboundp 'start-process))
(progn