diff options
| author | Juanma Barranquero | 2003-02-05 23:13:21 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2003-02-05 23:13:21 +0000 |
| commit | bf142f280fcd825fb18054b1c5981fbb28ed3ce3 (patch) | |
| tree | e0874d82169d3c35ca095a89c1ae9e9ce60b1012 | |
| parent | 17874c4eb9e60b15cb6fd0193ce44d220f73ef03 (diff) | |
| download | emacs-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.el | 17 |
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. |
| 649 | The corresponding checks are always done now. | ||
| 650 | From the old doc string: | ||
| 651 | |||
| 652 | Non-nil means be extra-careful in checkout. | ||
| 653 | Verify that the file really is not locked | 649 | Verify that the file really is not locked |
| 654 | and that its contents match what the master file says." | 650 | and 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. |
| 3135 | COLOR-MAP, if present, overrides `vc-annotate-color-map'. | 3134 | COLOR-MAP, if present, overrides `vc-annotate-color-map'. |
| 3136 | The annotations are relative to the current time, unless overridden by OFFSET. | 3135 | The annotations are relative to the current time, unless overridden by OFFSET." |
| 3137 | |||
| 3138 | This 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 | ||