aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2014-03-12 05:00:03 +0100
committerJuanma Barranquero2014-03-12 05:00:03 +0100
commit5983b317f4cd4853dd22fc97dd91a1999fc20aba (patch)
tree453579da0d97c461f69406e0283782044b4b8ed0
parent13c00cf02f3be8d0c71caba9a1a7edd9e752142d (diff)
downloademacs-5983b317f4cd4853dd22fc97dd91a1999fc20aba.tar.gz
emacs-5983b317f4cd4853dd22fc97dd91a1999fc20aba.zip
lisp/vc/pcvs*.el: Fix typos.
* lisp/vc/pcvs-defs.el (cvs-auto-remove-handled) (cvs-auto-remove-directories, cvs-default-ignore-marks) (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer) (cvs-execute-single-dir): Fix docstring typos. * lisp/vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos. (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes. * lisp/vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring. * lisp/vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set): Fix docstring typos. * lisp/vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot) (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark) (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday) (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot) (cvs-dired-use-hook): Fix docstring typos. (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files): Doc fixes.
-rw-r--r--lisp/ChangeLog23
-rw-r--r--lisp/vc/pcvs-defs.el32
-rw-r--r--lisp/vc/pcvs-info.el10
-rw-r--r--lisp/vc/pcvs-parse.el8
-rw-r--r--lisp/vc/pcvs-util.el6
-rw-r--r--lisp/vc/pcvs.el42
6 files changed, 72 insertions, 49 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b99c5f07071..6ed8a4b7e25 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,28 @@
12014-03-12 Juanma Barranquero <lekktu@gmail.com> 12014-03-12 Juanma Barranquero <lekktu@gmail.com>
2 2
3 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
4 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
5 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
6 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
7 (cvs-dired-use-hook): Fix docstring typos.
8 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
9 Doc fixes.
10
11 * vc/pcvs-defs.el (cvs-auto-remove-handled)
12 (cvs-auto-remove-directories, cvs-default-ignore-marks)
13 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
14 (cvs-execute-single-dir): Fix docstring typos.
15
16 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
17 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
18
19 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
20
21 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
22 Fix docstring typos.
23
242014-03-12 Juanma Barranquero <lekktu@gmail.com>
25
3 * frameset.el (frameset--jump-to-register): Add autoload; it could be 26 * frameset.el (frameset--jump-to-register): Add autoload; it could be
4 called from jump-to-register after unloading the frameset package. 27 called from jump-to-register after unloading the frameset package.
5 28
diff --git a/lisp/vc/pcvs-defs.el b/lisp/vc/pcvs-defs.el
index 0d3f81d7a47..b89c4df5818 100644
--- a/lisp/vc/pcvs-defs.el
+++ b/lisp/vc/pcvs-defs.el
@@ -92,17 +92,17 @@ There is no need to set this if $CVSROOT is set to a correct value.")
92 92
93(defcustom cvs-auto-remove-handled nil 93(defcustom cvs-auto-remove-handled nil
94 "If up-to-date files should be acknowledged automatically. 94 "If up-to-date files should be acknowledged automatically.
95If T, they will be removed from the *cvs* buffer after every command. 95If t, they will be removed from the *cvs* buffer after every command.
96If DELAYED, they will be removed from the *cvs* buffer before every command. 96If `delayed', they will be removed from the *cvs* buffer before every command.
97If STATUS, they will only be removed after a `cvs-mode-status' command. 97If `status', they will only be removed after a `cvs-mode-status' command.
98Else, they will never be automatically removed from the *cvs* buffer." 98Else, they will never be automatically removed from the *cvs* buffer."
99 :group 'pcl-cvs 99 :group 'pcl-cvs
100 :type '(choice (const nil) (const status) (const delayed) (const t))) 100 :type '(choice (const nil) (const status) (const delayed) (const t)))
101 101
102(defcustom cvs-auto-remove-directories 'handled 102(defcustom cvs-auto-remove-directories 'handled
103 "If ALL, directory entries will never be shown. 103 "If `all', directory entries will never be shown.
104If HANDLED, only non-handled directories will be shown. 104If `handled', only non-handled directories will be shown.
105If EMPTY, only non-empty directories will be shown." 105If `empty', only non-empty directories will be shown."
106 :group 'pcl-cvs 106 :group 'pcl-cvs
107 :type '(choice (const :tag "No" nil) (const all) (const handled) (const empty))) 107 :type '(choice (const :tag "No" nil) (const all) (const handled) (const empty)))
108 108
@@ -129,7 +129,7 @@ useful to be able to tag a single file. The normal way to do that is to use
129Normally they run on the files that are marked (with `cvs-mode-mark'), 129Normally they run on the files that are marked (with `cvs-mode-mark'),
130or the file under the cursor if no files are marked. If this variable 130or the file under the cursor if no files are marked. If this variable
131is set to a non-nil value they will by default run on the file on the 131is set to a non-nil value they will by default run on the file on the
132current line. See also `cvs-invert-ignore-marks'" 132current line. See also `cvs-invert-ignore-marks'."
133 :group 'pcl-cvs 133 :group 'pcl-cvs
134 :type '(boolean)) 134 :type '(boolean))
135 135
@@ -235,7 +235,7 @@ Output from cvs is placed here for asynchronous commands.")
235 (if (fboundp 'ediff) 235 (if (fboundp 'ediff)
236 '(cvs-ediff-diff . cvs-ediff-merge) 236 '(cvs-ediff-diff . cvs-ediff-merge)
237 '(cvs-emerge-diff . cvs-emerge-merge)) 237 '(cvs-emerge-diff . cvs-emerge-merge))
238 "Pair of functions to be used for resp. diff'ing and merg'ing interactively." 238 "Pair of functions to be used for resp. diff'ing and merg'ing interactively."
239 :group 'pcl-cvs 239 :group 'pcl-cvs
240 :type '(choice (const :tag "Ediff" (cvs-ediff-diff . cvs-ediff-merge)) 240 :type '(choice (const :tag "Ediff" (cvs-ediff-diff . cvs-ediff-merge))
241 (const :tag "Emerge" (cvs-emerge-diff . cvs-emerge-merge)))) 241 (const :tag "Emerge" (cvs-emerge-diff . cvs-emerge-merge))))
@@ -251,10 +251,10 @@ Output from cvs is placed here for asynchronous commands.")
251(defcustom cvs-reuse-cvs-buffer 'subdir 251(defcustom cvs-reuse-cvs-buffer 'subdir
252 "When to reuse an existing cvs buffer. 252 "When to reuse an existing cvs buffer.
253Alternatives are: 253Alternatives are:
254 CURRENT: just reuse the current buffer if it is a cvs buffer 254 `current': just reuse the current buffer if it is a cvs buffer
255 SAMEDIR: reuse any cvs buffer displaying the same directory 255 `samedir': reuse any cvs buffer displaying the same directory
256 SUBDIR: or reuse any cvs buffer displaying any sub- or super- directory 256 `subdir': or reuse any cvs buffer displaying any sub- or super- directory
257 ALWAYS: reuse any cvs buffer." 257 `always': reuse any cvs buffer."
258 :group 'pcl-cvs 258 :group 'pcl-cvs
259 :type '(choice (const always) (const subdir) (const samedir) (const current))) 259 :type '(choice (const always) (const subdir) (const samedir) (const current)))
260 260
@@ -488,16 +488,16 @@ It is expected to call the function.")
488 t) 488 t)
489 "Whether cvs commands should be executed a directory at a time. 489 "Whether cvs commands should be executed a directory at a time.
490If a list, specifies for which commands the single-dir mode should be used. 490If a list, specifies for which commands the single-dir mode should be used.
491If T, single-dir mode should be used for all operations. 491If t, single-dir mode should be used for all operations.
492 492
493CVS versions before 1.10 did not allow passing them arguments in different 493CVS versions before 1.10 did not allow passing them arguments in different
494directories, so pcl-cvs checks what version you're using to determine 494directories, so PCL-CVS checks what version you're using to determine
495whether to use the new feature or not. 495whether to use the new feature or not.
496Sadly, even with a new cvs executable, if you connect to an older cvs server 496Sadly, even with a new cvs executable, if you connect to an older cvs server
497\(typically a cvs-1.9 on the server), the old restriction applies. In such 497\(typically a cvs-1.9 on the server), the old restriction applies. In such
498a case the sanity check made by pcl-cvs fails and you will have to manually 498a case the sanity check made by PCL-CVS fails and you will have to manually
499set this variable to t (until the cvs server is upgraded). 499set this variable to t (until the cvs server is upgraded).
500When the above problem occurs, pcl-cvs should (hopefully) catch cvs' error 500When the above problem occurs, PCL-CVS should (hopefully) catch cvs' error
501message and replace it with a message telling you to change this variable.") 501message and replace it with a message telling you to change this variable.")
502 502
503;; 503;;
diff --git a/lisp/vc/pcvs-info.el b/lisp/vc/pcvs-info.el
index 51e15d2ea6a..202f7ddfd2c 100644
--- a/lisp/vc/pcvs-info.el
+++ b/lisp/vc/pcvs-info.el
@@ -142,7 +142,7 @@ to confuse some users sometimes."
142 142
143(easy-mmode-defmap cvs-status-map 143(easy-mmode-defmap cvs-status-map
144 '(([(mouse-2)] . cvs-mode-toggle-mark)) 144 '(([(mouse-2)] . cvs-mode-toggle-mark))
145 "Local keymap for text properties of status") 145 "Local keymap for text properties of status.")
146 146
147;; Constructor: 147;; Constructor:
148 148
@@ -301,8 +301,8 @@ to confuse some users sometimes."
301 (DEAD ) 301 (DEAD )
302 (MESSAGE)) 302 (MESSAGE))
303 "Fileinfo state descriptions for pcl-cvs. 303 "Fileinfo state descriptions for pcl-cvs.
304This is an assoc list. Each element consists of (STATE . FUNS) 304This is an assoc list. Each element consists of (STATE . FUNS):
305- STATE (described in `cvs-create-fileinfo') is the key 305- STATE (described in `cvs-create-fileinfo') is the key.
306- FUNS is the list of applicable operations. 306- FUNS is the list of applicable operations.
307 The first one (if any) should be the \"default\" action. 307 The first one (if any) should be the \"default\" action.
308Most of the actions have the obvious meaning. 308Most of the actions have the obvious meaning.
@@ -332,7 +332,7 @@ FI-OR-TYPE can either be a symbol (a fileinfo-type) or a fileinfo."
332 332
333(defun cvs-fileinfo-pp (fileinfo) 333(defun cvs-fileinfo-pp (fileinfo)
334 "Pretty print FILEINFO. Insert a printed representation in current buffer. 334 "Pretty print FILEINFO. Insert a printed representation in current buffer.
335For use by the cookie package." 335For use by the ewoc package."
336 (cvs-check-fileinfo fileinfo) 336 (cvs-check-fileinfo fileinfo)
337 (let ((type (cvs-fileinfo->type fileinfo)) 337 (let ((type (cvs-fileinfo->type fileinfo))
338 (subtype (cvs-fileinfo->subtype fileinfo))) 338 (subtype (cvs-fileinfo->subtype fileinfo)))
@@ -416,7 +416,7 @@ fileinfo will appear first, followed by all files (alphabetically)."
416 416
417(defun cvs-fileinfo-from-entries (dir &optional all) 417(defun cvs-fileinfo-from-entries (dir &optional all)
418 "List of fileinfos for DIR, extracted from CVS/Entries. 418 "List of fileinfos for DIR, extracted from CVS/Entries.
419Unless ALL is optional, returns only the files that are not up-to-date. 419Unless ALL is non-nil, returns only the files that are not up-to-date.
420DIR can also be a file." 420DIR can also be a file."
421 (let* ((singlefile 421 (let* ((singlefile
422 (cond 422 (cond
diff --git a/lisp/vc/pcvs-parse.el b/lisp/vc/pcvs-parse.el
index 23225d178fd..366e90d5c9c 100644
--- a/lisp/vc/pcvs-parse.el
+++ b/lisp/vc/pcvs-parse.el
@@ -165,13 +165,13 @@ Match RE and if successful, execute MATCHES."
165TYPE can either be a type symbol or a cons of the form (TYPE . SUBTYPE). 165TYPE can either be a type symbol or a cons of the form (TYPE . SUBTYPE).
166PATH is the filename. 166PATH is the filename.
167DIRECTORY influences the way PATH is interpreted: 167DIRECTORY influences the way PATH is interpreted:
168- if it's a string, it denotes the directory in which PATH (which should then be 168- if a string, it denotes the directory in which PATH (which should then be
169 a plain file name with no directory component) resides. 169 a plain file name with no directory component) resides.
170- if it's nil, the PATH should not be trusted: if it has a directory 170- if it's nil, the PATH should not be trusted: if it has a directory
171 component, use it, else, assume it is relative to the current directory. 171 component, use it, else, assume it is relative to the current directory.
172- else, the PATH should be trusted to be relative to the root 172- else, the PATH should be trusted to be relative to the root directory
173 directory (i.e. if there is no directory component, it means the file 173 (i.e. if there is no directory component, it means the file is inside
174 is inside the main directory). 174 the main directory).
175The remaining KEYS are passed directly to `cvs-create-fileinfo'." 175The remaining KEYS are passed directly to `cvs-create-fileinfo'."
176 (let ((dir directory) 176 (let ((dir directory)
177 (file path)) 177 (file path))
diff --git a/lisp/vc/pcvs-util.el b/lisp/vc/pcvs-util.el
index 8ef3b30759e..97ab7dfef77 100644
--- a/lisp/vc/pcvs-util.el
+++ b/lisp/vc/pcvs-util.el
@@ -253,7 +253,7 @@ arguments. If ARGS is not a list, no argument will be passed."
253Optional argument DESC will be used for the prompt. 253Optional argument DESC will be used for the prompt.
254If ARG (or a prefix argument) is nil, just use the 0th default. 254If ARG (or a prefix argument) is nil, just use the 0th default.
255If it is a non-negative integer, use the corresponding default. 255If it is a non-negative integer, use the corresponding default.
256If it is a negative integer query for a new value of the corresponding 256If it is a negative integer, query for a new value of the corresponding
257 default and return that new value. 257 default and return that new value.
258If it is \\[universal-argument], just query and return a value without 258If it is \\[universal-argument], just query and return a value without
259 altering the defaults. 259 altering the defaults.
@@ -286,7 +286,7 @@ If it is \\[universal-argument] \\[universal-argument], behave just
286 (nth numarg defaults)))) 286 (nth numarg defaults))))
287 287
288(defsubst cvs-flags-set (sym index value) 288(defsubst cvs-flags-set (sym index value)
289 "Set SYM's INDEX'th setting to VALUE." 289 "Set SYM's INDEXth setting to VALUE."
290 (setf (nth index (cvs-flags-defaults (symbol-value sym))) value)) 290 (setf (nth index (cvs-flags-defaults (symbol-value sym))) value))
291 291
292;;;; 292;;;;
@@ -323,7 +323,7 @@ See `cvs-prefix-set' for further description of the behavior."))
323 "Set the cvs-prefix contained in SYM. 323 "Set the cvs-prefix contained in SYM.
324If ARG is between 0 and 9, it selects the corresponding default. 324If ARG is between 0 and 9, it selects the corresponding default.
325If ARG is negative (or \\[universal-argument] which corresponds to negative 0), 325If ARG is negative (or \\[universal-argument] which corresponds to negative 0),
326 it queries the user and sets the -ARG'th default. 326 it queries the user and sets the -ARGth default.
327If ARG is greater than 9 (or \\[universal-argument] \\[universal-argument]), 327If ARG is greater than 9 (or \\[universal-argument] \\[universal-argument]),
328 the (ARG mod 10)'th prefix is made persistent. 328 the (ARG mod 10)'th prefix is made persistent.
329If ARG is nil toggle the PREFIX's value between its 0th default and nil 329If ARG is nil toggle the PREFIX's value between its 0th default and nil
diff --git a/lisp/vc/pcvs.el b/lisp/vc/pcvs.el
index 4f0f1e8e7fe..e0f514406ed 100644
--- a/lisp/vc/pcvs.el
+++ b/lisp/vc/pcvs.el
@@ -341,11 +341,11 @@ the \\[cvs-mode-map] prefix."
341(defun cvs-temp-buffer (&optional cmd normal nosetup) 341(defun cvs-temp-buffer (&optional cmd normal nosetup)
342 "Create a temporary buffer to run CMD in. 342 "Create a temporary buffer to run CMD in.
343If CMD is a string, use it to lookup `cvs-buffer-name-alist' to find 343If CMD is a string, use it to lookup `cvs-buffer-name-alist' to find
344the buffer name to be used and its `major-mode'. 344the buffer name to be used and its major mode.
345 345
346The selected window will not be changed. The new buffer will not maintain undo 346The selected window will not be changed. The new buffer will not maintain undo
347information and will be read-only unless NORMAL is non-nil. It will be emptied 347information and will be read-only unless NORMAL is non-nil. It will be emptied
348\(unless NOSETUP is non-nil\) and its `default-directory' will be inherited 348\(unless NOSETUP is non-nil) and its `default-directory' will be inherited
349from the current buffer." 349from the current buffer."
350 (let* ((cvs-buf (current-buffer)) 350 (let* ((cvs-buf (current-buffer))
351 (info (cdr (assoc cmd cvs-buffer-name-alist))) 351 (info (cdr (assoc cmd cvs-buffer-name-alist)))
@@ -750,13 +750,13 @@ FUN can be either a symbol (i.e. STYLE is nil) or a cons (FUN . STYLE).
750ARGS and DOCSTRING are the normal argument list. 750ARGS and DOCSTRING are the normal argument list.
751INTERACT is the interactive specification or nil for non-commands. 751INTERACT is the interactive specification or nil for non-commands.
752 752
753STYLE can be either SIMPLE, NOARGS or DOUBLE. It's an error for it 753STYLE can be either `SIMPLE', `NOARGS' or `DOUBLE'. It's an error for it
754to have any other value, unless other details of the function make it 754to have any other value, unless other details of the function make it
755clear what alternative to use. 755clear what alternative to use.
756- SIMPLE will get all the interactive arguments from the original buffer. 756- `SIMPLE' will get all the interactive arguments from the original buffer.
757- NOARGS will get all the arguments from the *cvs* buffer and will 757- `NOARGS' will get all the arguments from the *cvs* buffer and will
758 always behave as if called interactively. 758 always behave as if called interactively.
759- DOUBLE is the generic case." 759- `DOUBLE' is the generic case."
760 (declare (debug (&define sexp lambda-list stringp 760 (declare (debug (&define sexp lambda-list stringp
761 ("interactive" interactive) def-body)) 761 ("interactive" interactive) def-body))
762 (doc-string 3)) 762 (doc-string 3))
@@ -910,7 +910,7 @@ RM-MSGS if non-nil means remove messages."
910 (setq rerun t))))) 910 (setq rerun t)))))
911 911
912(defun cvs-get-cvsroot () 912(defun cvs-get-cvsroot ()
913 "Gets the CVSROOT for DIR." 913 "Get the CVSROOT for DIR."
914 (let ((cvs-cvsroot-file (expand-file-name "Root" "CVS"))) 914 (let ((cvs-cvsroot-file (expand-file-name "Root" "CVS")))
915 (or (cvs-file-to-string cvs-cvsroot-file t) 915 (or (cvs-file-to-string cvs-cvsroot-file t)
916 cvs-cvsroot 916 cvs-cvsroot
@@ -940,7 +940,7 @@ This usually doesn't really work but is a handy initval in a prompt."
940 940
941;;;###autoload 941;;;###autoload
942(defun cvs-checkout (modules dir flags &optional root) 942(defun cvs-checkout (modules dir flags &optional root)
943 "Run a 'cvs checkout MODULES' in DIR. 943 "Run a `cvs checkout MODULES' in DIR.
944Feed the output to a *cvs* buffer, display it in the current window, 944Feed the output to a *cvs* buffer, display it in the current window,
945and run `cvs-mode' on it. 945and run `cvs-mode' on it.
946 946
@@ -964,7 +964,7 @@ With a prefix argument, prompt for cvs FLAGS to use."
964 :noexist t))) 964 :noexist t)))
965 965
966(defun-cvs-mode (cvs-mode-checkout . NOARGS) (dir) 966(defun-cvs-mode (cvs-mode-checkout . NOARGS) (dir)
967 "Run cvs checkout against the current branch. 967 "Run `cvs checkout' against the current branch.
968The files are stored to DIR." 968The files are stored to DIR."
969 (interactive 969 (interactive
970 (let* ((branch (cvs-prefix-get 'cvs-branch-prefix)) 970 (let* ((branch (cvs-prefix-get 'cvs-branch-prefix))
@@ -1082,7 +1082,7 @@ Optional argument NOSHOW if non-nil means not to display the buffer."
1082 :noshow noshow :dont-change-disc t)) 1082 :noshow noshow :dont-change-disc t))
1083 1083
1084(defun cvs-update-filter (proc string) 1084(defun cvs-update-filter (proc string)
1085 "Filter function for pcl-cvs. 1085 "Filter function for PCL-CVS.
1086This function gets the output that CVS sends to stdout. It inserts 1086This function gets the output that CVS sends to stdout. It inserts
1087the STRING into (process-buffer PROC) but it also checks if CVS is waiting 1087the STRING into (process-buffer PROC) but it also checks if CVS is waiting
1088for a lock file. If so, it inserts a message cookie in the *cvs* buffer." 1088for a lock file. If so, it inserts a message cookie in the *cvs* buffer."
@@ -1229,7 +1229,7 @@ If a prefix argument is given, move by that many lines."
1229(defun-cvs-mode cvs-mode-mark (&optional arg) 1229(defun-cvs-mode cvs-mode-mark (&optional arg)
1230 "Mark the fileinfo on the current line. 1230 "Mark the fileinfo on the current line.
1231If the fileinfo is a directory, all the contents of that directory are 1231If the fileinfo is a directory, all the contents of that directory are
1232marked instead. A directory can never be marked." 1232marked instead. A directory can never be marked."
1233 (interactive) 1233 (interactive)
1234 (let* ((tin (ewoc-locate cvs-cookies)) 1234 (let* ((tin (ewoc-locate cvs-cookies))
1235 (fi (ewoc-data tin))) 1235 (fi (ewoc-data tin)))
@@ -1397,7 +1397,7 @@ an empty list if it doesn't point to a file at all."
1397 (nreverse fis))) 1397 (nreverse fis)))
1398 1398
1399(cl-defun cvs-mode-marked (filter &optional cmd 1399(cl-defun cvs-mode-marked (filter &optional cmd
1400 &key read-only one file noquery) 1400 &key read-only one file noquery)
1401 "Get the list of marked FIS. 1401 "Get the list of marked FIS.
1402CMD is used to determine whether to use the marks or not. 1402CMD is used to determine whether to use the marks or not.
1403Only files for which FILTER is applicable are returned. 1403Only files for which FILTER is applicable are returned.
@@ -1636,25 +1636,25 @@ See also `cvs-diff-ignore-marks'."
1636 1636
1637(defun-cvs-mode (cvs-mode-diff-head . SIMPLE) (flags) 1637(defun-cvs-mode (cvs-mode-diff-head . SIMPLE) (flags)
1638 "Diff the selected files against the head of the current branch. 1638 "Diff the selected files against the head of the current branch.
1639See ``cvs-mode-diff'' for more info." 1639See `cvs-mode-diff' for more info."
1640 (interactive (list (cvs-flags-query 'cvs-diff-flags "cvs diff flags"))) 1640 (interactive (list (cvs-flags-query 'cvs-diff-flags "cvs diff flags")))
1641 (cvs-mode-diff-1 (cons "-rHEAD" flags))) 1641 (cvs-mode-diff-1 (cons "-rHEAD" flags)))
1642 1642
1643(defun-cvs-mode (cvs-mode-diff-repository . SIMPLE) (flags) 1643(defun-cvs-mode (cvs-mode-diff-repository . SIMPLE) (flags)
1644 "Diff the files for changes in the repository since last co/update/commit. 1644 "Diff the files for changes in the repository since last co/update/commit.
1645See ``cvs-mode-diff'' for more info." 1645See `cvs-mode-diff' for more info."
1646 (interactive (list (cvs-flags-query 'cvs-diff-flags "cvs diff flags"))) 1646 (interactive (list (cvs-flags-query 'cvs-diff-flags "cvs diff flags")))
1647 (cvs-mode-diff-1 (cons "-rBASE" (cons "-rHEAD" flags)))) 1647 (cvs-mode-diff-1 (cons "-rBASE" (cons "-rHEAD" flags))))
1648 1648
1649(defun-cvs-mode (cvs-mode-diff-yesterday . SIMPLE) (flags) 1649(defun-cvs-mode (cvs-mode-diff-yesterday . SIMPLE) (flags)
1650 "Diff the selected files against yesterday's head of the current branch. 1650 "Diff the selected files against yesterday's head of the current branch.
1651See ``cvs-mode-diff'' for more info." 1651See `cvs-mode-diff' for more info."
1652 (interactive (list (cvs-flags-query 'cvs-diff-flags "cvs diff flags"))) 1652 (interactive (list (cvs-flags-query 'cvs-diff-flags "cvs diff flags")))
1653 (cvs-mode-diff-1 (cons "-Dyesterday" flags))) 1653 (cvs-mode-diff-1 (cons "-Dyesterday" flags)))
1654 1654
1655(defun-cvs-mode (cvs-mode-diff-vendor . SIMPLE) (flags) 1655(defun-cvs-mode (cvs-mode-diff-vendor . SIMPLE) (flags)
1656 "Diff the selected files against the head of the vendor branch. 1656 "Diff the selected files against the head of the vendor branch.
1657See ``cvs-mode-diff'' for more info." 1657See `cvs-mode-diff' for more info."
1658 (interactive (list (cvs-flags-query 'cvs-diff-flags "cvs diff flags"))) 1658 (interactive (list (cvs-flags-query 'cvs-diff-flags "cvs diff flags")))
1659 (cvs-mode-diff-1 (cons (concat "-r" cvs-vendor-branch) flags))) 1659 (cvs-mode-diff-1 (cons (concat "-r" cvs-vendor-branch) flags)))
1660 1660
@@ -1904,7 +1904,7 @@ Executes `cvs CVSARGS CMD FLAGS' on the selected files.
1904FILTER is passed to `cvs-applicable-p' to only apply the command to 1904FILTER is passed to `cvs-applicable-p' to only apply the command to
1905 files for which it makes sense. 1905 files for which it makes sense.
1906SHOW indicates that CMD should be not be run in the default temp buffer and 1906SHOW indicates that CMD should be not be run in the default temp buffer and
1907 should be shown to the user. The buffer and mode to be used is determined 1907 should be shown to the user. The buffer and mode to be used are determined
1908 by `cvs-buffer-name-alist'. 1908 by `cvs-buffer-name-alist'.
1909DONT-CHANGE-DISC non-nil indicates that the command will not change the 1909DONT-CHANGE-DISC non-nil indicates that the command will not change the
1910 contents of files. This is only used by the parser." 1910 contents of files. This is only used by the parser."
@@ -1999,7 +1999,7 @@ This command ignores files that are not flagged as `Unknown'."
1999 1999
2000 2000
2001(defun cvs-mode-view-file-other-window (e) 2001(defun cvs-mode-view-file-other-window (e)
2002 "View the file." 2002 "View the file in another window."
2003 (interactive (list last-input-event)) 2003 (interactive (list last-input-event))
2004 (cvs-mode-find-file e t t)) 2004 (cvs-mode-find-file e t t))
2005 2005
@@ -2209,7 +2209,7 @@ With prefix argument, prompt for cvs flags."
2209;; Byte compile files. 2209;; Byte compile files.
2210 2210
2211(defun-cvs-mode cvs-mode-byte-compile-files () 2211(defun-cvs-mode cvs-mode-byte-compile-files ()
2212 "Run byte-compile-file on all selected files that end in '.el'." 2212 "Run byte-compile-file on all selected files with '.el' extension."
2213 (interactive) 2213 (interactive)
2214 (let ((marked (cvs-get-marked (cvs-ignore-marks-p "byte-compile")))) 2214 (let ((marked (cvs-get-marked (cvs-ignore-marks-p "byte-compile"))))
2215 (dolist (fi marked) 2215 (dolist (fi marked)
@@ -2318,7 +2318,7 @@ this file, or a list of arguments to send to the program."
2318 2318
2319 2319
2320(defun cvs-change-cvsroot (newroot) 2320(defun cvs-change-cvsroot (newroot)
2321 "Change the cvsroot." 2321 "Change the CVSROOT."
2322 (interactive "DNew repository: ") 2322 (interactive "DNew repository: ")
2323 (if (or (file-directory-p (expand-file-name "CVSROOT" newroot)) 2323 (if (or (file-directory-p (expand-file-name "CVSROOT" newroot))
2324 (y-or-n-p (concat "Warning: no CVSROOT found inside repository." 2324 (y-or-n-p (concat "Warning: no CVSROOT found inside repository."
@@ -2344,7 +2344,7 @@ Sensible values are `cvs-examine', `cvs-status' and `cvs-quickdir'."
2344(defcustom cvs-dired-use-hook '(4) 2344(defcustom cvs-dired-use-hook '(4)
2345 "Whether or not opening a CVS directory should run PCL-CVS. 2345 "Whether or not opening a CVS directory should run PCL-CVS.
2346A value of nil means never do it. 2346A value of nil means never do it.
2347ALWAYS means to always do it unless a prefix argument is given to the 2347`always' means to always do it unless a prefix argument is given to the
2348 command that prompted the opening of the directory. 2348 command that prompted the opening of the directory.
2349Anything else means to do it only if the prefix arg is equal to this value." 2349Anything else means to do it only if the prefix arg is equal to this value."
2350 :group 'pcl-cvs 2350 :group 'pcl-cvs