aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-05-04 19:52:02 +0000
committerRichard M. Stallman1993-05-04 19:52:02 +0000
commite8ee1ccf68c004de826f2ce12952ba0fd3f900bf (patch)
tree6a626828a626e70e4d6e952fbd0451dc37f1cd05
parentcdd8203f4eb6dfa0d3fc2172c72cf97eaa71eb20 (diff)
downloademacs-e8ee1ccf68c004de826f2ce12952ba0fd3f900bf.tar.gz
emacs-e8ee1ccf68c004de826f2ce12952ba0fd3f900bf.zip
(vc-backend-diff): Use diff-switches, not vc-diff-options.
(vc-diff-options): Variable deleted.
-rw-r--r--lisp/vc.el13
1 files changed, 6 insertions, 7 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index d92d7554ae2..ef2ab776eef 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -73,8 +73,6 @@
73(defvar vc-default-back-end nil 73(defvar vc-default-back-end nil
74 "*Back-end actually used by this interface; may be SCCS or RCS. 74 "*Back-end actually used by this interface; may be SCCS or RCS.
75The value is only computed when needed to avoid an expensive search.") 75The value is only computed when needed to avoid an expensive search.")
76(defvar vc-diff-options '("-a" "-c2")
77 "*The command/flags list to be used in constructing diff commands.")
78(defvar vc-suppress-confirm nil 76(defvar vc-suppress-confirm nil
79 "*If non-nil, reat user as expert; suppress yes-no prompts on some things.") 77 "*If non-nil, reat user as expert; suppress yes-no prompts on some things.")
80(defvar vc-keep-workfiles t 78(defvar vc-keep-workfiles t
@@ -692,7 +690,11 @@ See `vc-update-change-log'."
692 690
693;;;###autoload 691;;;###autoload
694(defun vc-diff (historic) 692(defun vc-diff (historic)
695 "Display diffs between file versions." 693 "Display diffs between file versions.
694Normally this compares the current file and buffer with the most recent
695checked in version of that file. This uses no arguments.
696With a prefix argument, it reads the file name to use
697and two version designators specifying which versions to compare."
696 (interactive "P") 698 (interactive "P")
697 (if vc-dired-mode 699 (if vc-dired-mode
698 (set-buffer (find-file-noselect (dired-get-filename)))) 700 (set-buffer (find-file-noselect (dired-get-filename))))
@@ -1449,7 +1451,7 @@ Return nil if there is no such person."
1449 file 1451 file
1450 (and oldvers (concat "-r" oldvers)) 1452 (and oldvers (concat "-r" oldvers))
1451 (and newvers (concat "-r" newvers)) 1453 (and newvers (concat "-r" newvers))
1452 vc-diff-options 1454 diff-switches
1453 )) 1455 ))
1454 1456
1455(defun vc-check-headers () 1457(defun vc-check-headers ()
@@ -1507,9 +1509,6 @@ Global user options:
1507 vc-suppress-confirm Suppresses some confirmation prompts, 1509 vc-suppress-confirm Suppresses some confirmation prompts,
1508 notably for reversions. 1510 notably for reversions.
1509 1511
1510 vc-diff-options A list consisting of the flags
1511 to be used for generating context diffs.
1512
1513 vc-header-alist Which keywords to insert when adding headers 1512 vc-header-alist Which keywords to insert when adding headers
1514 with \\[vc-insert-headers]. Defaults to 1513 with \\[vc-insert-headers]. Defaults to
1515 '(\"\%\W\%\") under SCCS, '(\"\$Id\$\") under RCS. 1514 '(\"\%\W\%\") under SCCS, '(\"\$Id\$\") under RCS.