Mercurial > emacs
comparison lisp/pcvs-defs.el @ 49618:a591e5af9682
(cvs-diff-ignore-marks, cvs-diff-buffer-name): Add obsolescence declaration and
remove redundant info from docstring.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Wed, 05 Feb 2003 23:12:41 +0000 |
parents | b4a43403c371 |
children | fa1c848a9779 d7ddb3e565de |
comparison
equal
deleted
inserted
replaced
49617:78d4c6395dec | 49618:a591e5af9682 |
---|---|
2 | 2 |
3 ;; Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. | 3 ;; Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. |
4 | 4 |
5 ;; Author: Stefan Monnier <monnier@cs.yale.edu> | 5 ;; Author: Stefan Monnier <monnier@cs.yale.edu> |
6 ;; Keywords: pcl-cvs | 6 ;; Keywords: pcl-cvs |
7 ;; Revision: $Id: pcvs-defs.el,v 1.19 2002/06/29 19:52:51 monnier Exp $ | 7 ;; Revision: $Id: pcvs-defs.el,v 1.20 2002/11/12 21:04:48 monnier Exp $ |
8 | 8 |
9 ;; This file is part of GNU Emacs. | 9 ;; This file is part of GNU Emacs. |
10 | 10 |
11 ;; GNU Emacs is free software; you can redistribute it and/or modify | 11 ;; GNU Emacs is free software; you can redistribute it and/or modify |
12 ;; it under the terms of the GNU General Public License as published by | 12 ;; it under the terms of the GNU General Public License as published by |
135 is set to a non-nil value they will by default run on the file on the | 135 is set to a non-nil value they will by default run on the file on the |
136 current line. See also `cvs-invert-ignore-marks'" | 136 current line. See also `cvs-invert-ignore-marks'" |
137 :group 'pcl-cvs | 137 :group 'pcl-cvs |
138 :type '(boolean)) | 138 :type '(boolean)) |
139 | 139 |
140 (defvar cvs-diff-ignore-marks t | 140 (defvar cvs-diff-ignore-marks t) |
141 "Obsolete: use `cvs-invert-ignore-marks' instead.") | 141 (make-obsolete-variable 'cvs-diff-ignore-marks |
142 'cvs-invert-ignore-marks) | |
142 | 143 |
143 (defcustom cvs-invert-ignore-marks | 144 (defcustom cvs-invert-ignore-marks |
144 (let ((l ())) | 145 (let ((l ())) |
145 (unless (equal cvs-diff-ignore-marks cvs-default-ignore-marks) | 146 (unless (equal cvs-diff-ignore-marks cvs-default-ignore-marks) |
146 (push "diff" l)) | 147 (push "diff" l)) |
171 If set to nil, `cvs-mode-add' will always prompt for a message." | 172 If set to nil, `cvs-mode-add' will always prompt for a message." |
172 :group 'pcl-cvs | 173 :group 'pcl-cvs |
173 :type '(choice (const :tag "Prompt" nil) | 174 :type '(choice (const :tag "Prompt" nil) |
174 (string))) | 175 (string))) |
175 | 176 |
176 (defvar cvs-diff-buffer-name "*cvs-diff*" | 177 (defvar cvs-diff-buffer-name "*cvs-diff*") |
177 "Obsolete variable: use `cvs-buffer-name-alist' instead.") | 178 (make-obsolete-variable 'cvs-diff-buffer-name |
179 'cvs-buffer-name-alist) | |
178 | 180 |
179 (defcustom cvs-find-file-and-jump nil | 181 (defcustom cvs-find-file-and-jump nil |
180 "Jump to the modified area when finding a file. | 182 "Jump to the modified area when finding a file. |
181 If non-nil, `cvs-mode-file-file' will place the cursor at the beginning of | 183 If non-nil, `cvs-mode-file-file' will place the cursor at the beginning of |
182 the modified area. If the file is not locally modified, this will obviously | 184 the modified area. If the file is not locally modified, this will obviously |