changeset 9736:093d80b4ae17

(diff-command): New variable. (diff): Use it.
author Richard M. Stallman <rms@gnu.org>
date Fri, 28 Oct 1994 18:45:45 +0000
parents 3f2c709d9856
children 1368ece6ec04
files lisp/diff.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/diff.el	Fri Oct 28 15:39:01 1994 +0000
+++ b/lisp/diff.el	Fri Oct 28 18:45:45 1994 +0000
@@ -34,6 +34,9 @@
 (defvar diff-switches "-c"
   "*A string or list of strings specifying switches to be be passed to diff.")
 
+(defvar diff-command "diff"
+  "*The command to use to run diff.")
+
 (defvar diff-regexp-alist
   '(
     ;; -u format: @@ -OLDSTART,OLDEND +NEWSTART,NEWEND @@
@@ -196,7 +199,7 @@
     (unwind-protect
 	(let ((command
 	       (mapconcat 'identity
-			  (append '("diff")
+			  (append (list diff-command)
 				  ;; Use explicitly specified switches
 				  (if switches
 				      (if (consp switches)