From: Richard M. Stallman Date: Sat, 2 Jan 1999 21:54:32 +0000 (+0000) Subject: (vc-backend-diff): Use `diff-switches-list' throughout. X-Git-Tag: emacs-20.4~969 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ac3db2e4296a81d1143184982b1da446dff2c12f;p=emacs.git (vc-backend-diff): Use `diff-switches-list' throughout. --- diff --git a/lisp/vc.el b/lisp/vc.el index 39c84adbf82..78cfcf5e8ff 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -5,7 +5,7 @@ ;; Author: Eric S. Raymond ;; Maintainer: Andre Spiegel -;; $Id: vc.el,v 1.240 1998/12/02 13:34:59 spiegel Exp rost $ +;; $Id: vc.el,v 1.241 1998/12/08 16:04:52 rost Exp rms $ ;; This file is part of GNU Emacs. @@ -2939,17 +2939,13 @@ THRESHOLD, nil otherwise" ;; diff it against /dev/null. (apply 'vc-do-command "*vc-diff*" 1 "diff" file 'WORKFILE - (append (if (listp diff-switches) - diff-switches - (list diff-switches)) '("/dev/null"))))) + (append diff-switches-list '("/dev/null"))))) ;; cmp is not yet implemented -- we always do a full diff. (apply 'vc-do-command "*vc-diff*" 1 "cvs" file 'WORKFILE "diff" (and oldvers (concat "-r" oldvers)) (and newvers (concat "-r" newvers)) - (if (listp diff-switches) - diff-switches - (list diff-switches)))))))) + diff-switches-list)))))) (defun vc-backend-merge-news (file) ;; Merge in any new changes made to FILE.