changeset 2706:c52476200bec

(vc-backend-diff): Handle either string or list.
author Richard M. Stallman <rms@gnu.org>
date Sun, 09 May 1993 14:29:33 +0000
parents b4587e7ff4e5
children 4661157d5c60
files lisp/vc.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc.el	Sun May 09 14:27:02 1993 +0000
+++ b/lisp/vc.el	Sun May 09 14:29:33 1993 +0000
@@ -1487,7 +1487,9 @@
 	 file
 	 (and oldvers (concat "-r" oldvers))
 	 (and newvers (concat "-r" newvers))
-	 diff-switches
+	 (if (listp diff-switches)
+	     diff-switches
+	   (list diff-switches))
   ))
 
 (defun vc-check-headers ()