aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2003-02-05 23:13:21 +0000
committerJuanma Barranquero2003-02-05 23:13:21 +0000
commitbf142f280fcd825fb18054b1c5981fbb28ed3ce3 (patch)
treee0874d82169d3c35ca095a89c1ae9e9ce60b1012
parent17874c4eb9e60b15cb6fd0193ce44d220f73ef03 (diff)
downloademacs-bf142f280fcd825fb18054b1c5981fbb28ed3ce3.tar.gz
emacs-bf142f280fcd825fb18054b1c5981fbb28ed3ce3.zip
(vc-annotate-display, vc-checkout-carefully): Add obsolescence declaration and
remove redundant info from docstring.
-rw-r--r--lisp/vc.el17
1 files changed, 7 insertions, 10 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index 3b7074df6a7..ddf67fc48bf 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -6,7 +6,7 @@
6;; Maintainer: Andre Spiegel <spiegel@gnu.org> 6;; Maintainer: Andre Spiegel <spiegel@gnu.org>
7;; Keywords: tools 7;; Keywords: tools
8 8
9;; $Id: vc.el,v 1.347 2002/12/26 14:04:21 spiegel Exp $ 9;; $Id: vc.el,v 1.348 2003/02/04 12:12:09 lektu Exp $
10 10
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12 12
@@ -645,15 +645,14 @@ is sensitive to blank lines."
645 :group 'vc) 645 :group 'vc)
646 646
647(defcustom vc-checkout-carefully (= (user-uid) 0) 647(defcustom vc-checkout-carefully (= (user-uid) 0)
648 "*This variable is obsolete 648 "*Non-nil means be extra-careful in checkout.
649The corresponding checks are always done now.
650From the old doc string:
651
652Non-nil means be extra-careful in checkout.
653Verify that the file really is not locked 649Verify that the file really is not locked
654and that its contents match what the master file says." 650and that its contents match what the master file says."
655 :type 'boolean 651 :type 'boolean
656 :group 'vc) 652 :group 'vc)
653(make-obsolete-variable 'vc-checkout-carefully
654 "the corresponding checks are always done now."
655 "21.1")
657 656
658 657
659;; The main keymap 658;; The main keymap
@@ -3133,14 +3132,12 @@ or OFFSET if present."
3133(defun vc-annotate-display (&optional color-map offset) 3132(defun vc-annotate-display (&optional color-map offset)
3134 "Highlight `vc-annotate' output in the current buffer. 3133 "Highlight `vc-annotate' output in the current buffer.
3135COLOR-MAP, if present, overrides `vc-annotate-color-map'. 3134COLOR-MAP, if present, overrides `vc-annotate-color-map'.
3136The annotations are relative to the current time, unless overridden by OFFSET. 3135The annotations are relative to the current time, unless overridden by OFFSET."
3137
3138This function is obsolete, and has been replaced by
3139`vc-annotate-display-select'."
3140 (if (and color-map (not (eq color-map vc-annotate-color-map))) 3136 (if (and color-map (not (eq color-map vc-annotate-color-map)))
3141 (set (make-local-variable 'vc-annotate-color-map) color-map)) 3137 (set (make-local-variable 'vc-annotate-color-map) color-map))
3142 (set (make-local-variable 'vc-annotate-offset) offset) 3138 (set (make-local-variable 'vc-annotate-offset) offset)
3143 (font-lock-mode 1)) 3139 (font-lock-mode 1))
3140(make-obsolete 'vc-annotate-display 'vc-annotate-display-select "21.4")
3144 3141
3145(defvar vc-annotate-offset nil) 3142(defvar vc-annotate-offset nil)
3146 3143