aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2004-05-09 01:54:01 +0000
committerJuanma Barranquero2004-05-09 01:54:01 +0000
commitf009f3bce9b1503a7a05ff159f1690ec1434d5b3 (patch)
tree81fd2c031c18a20de9033149ef3063a04b34dd74
parent60c249555a746c612407dc28b9d21caf533ba50b (diff)
downloademacs-f009f3bce9b1503a7a05ff159f1690ec1434d5b3.tar.gz
emacs-f009f3bce9b1503a7a05ff159f1690ec1434d5b3.zip
(cvs-mode-run, cvs-is-within-p): Fix typo in docstring.
(cvs-get-marked): Remove redundant arglist info.
-rw-r--r--lisp/pcvs.el9
1 files changed, 3 insertions, 6 deletions
diff --git a/lisp/pcvs.el b/lisp/pcvs.el
index 21e34fbc7ed..8cb21828d69 100644
--- a/lisp/pcvs.el
+++ b/lisp/pcvs.el
@@ -1312,10 +1312,7 @@ If there are any marked tins, and IGNORE-MARKS is nil, return them.
1312Otherwise, if the cursor selects a directory, and IGNORE-CONTENTS is 1312Otherwise, if the cursor selects a directory, and IGNORE-CONTENTS is
1313nil, return all files in it, else return just the directory. 1313nil, return all files in it, else return just the directory.
1314Otherwise return (a list containing) the file the cursor points to, or 1314Otherwise return (a list containing) the file the cursor points to, or
1315an empty list if it doesn't point to a file at all. 1315an empty list if it doesn't point to a file at all."
1316
1317Args: &optional IGNORE-MARKS IGNORE-CONTENTS."
1318
1319 (let ((fis nil)) 1316 (let ((fis nil))
1320 (dolist (fi (if (and (boundp 'cvs-minor-current-files) 1317 (dolist (fi (if (and (boundp 'cvs-minor-current-files)
1321 (consp cvs-minor-current-files)) 1318 (consp cvs-minor-current-files))
@@ -1754,7 +1751,7 @@ Signal an error if there is no backup file."
1754 1751
1755 1752
1756(defun cvs-is-within-p (fis dir) 1753(defun cvs-is-within-p (fis dir)
1757 "Non-nil is buffer is inside one of FIS (in DIR)." 1754 "Non-nil if buffer is inside one of FIS (in DIR)."
1758 (when (stringp buffer-file-name) 1755 (when (stringp buffer-file-name)
1759 (setq buffer-file-name (expand-file-name buffer-file-name)) 1756 (setq buffer-file-name (expand-file-name buffer-file-name))
1760 (let (ret) 1757 (let (ret)
@@ -1774,7 +1771,7 @@ BUF is the buffer to be used for cvs' output.
1774DONT-CHANGE-DISC non-nil indicates that the command will not change the 1771DONT-CHANGE-DISC non-nil indicates that the command will not change the
1775 contents of files. This is only used by the parser. 1772 contents of files. This is only used by the parser.
1776POSTPROC is a list of expressions to be evaluated at the very end (after 1773POSTPROC is a list of expressions to be evaluated at the very end (after
1777 parsing if applicable). It will be prepended with `progn' is necessary." 1774 parsing if applicable). It will be prepended with `progn' if necessary."
1778 (let ((def-dir default-directory)) 1775 (let ((def-dir default-directory))
1779 ;; Save the relevant buffers 1776 ;; Save the relevant buffers
1780 (save-some-buffers nil (lambda () (cvs-is-within-p fis def-dir)))) 1777 (save-some-buffers nil (lambda () (cvs-is-within-p fis def-dir))))