aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2013-09-11 14:31:45 -0400
committerGlenn Morris2013-09-11 14:31:45 -0400
commitd3506ca5a0a4deca042d9cf91e5cbba083675220 (patch)
tree8fbf436f1364a68156d50a0f258a66819be05b13
parent5ec0337a36f61c2bd6c7c3ef8102f7deeeafd09a (diff)
downloademacs-d3506ca5a0a4deca042d9cf91e5cbba083675220.tar.gz
emacs-d3506ca5a0a4deca042d9cf91e5cbba083675220.zip
* lisp/vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
Check cvs-sort-ignore-file is bound.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/vc/vc-cvs.el6
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c7e08e40480..cf1fa06aee8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12013-09-11 Glenn Morris <rgm@gnu.org> 12013-09-11 Glenn Morris <rgm@gnu.org>
2 2
3 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4 Check cvs-sort-ignore-file is bound.
5
3 * savehist.el: No need for cl when compiling on Emacs. 6 * savehist.el: No need for cl when compiling on Emacs.
4 7
52013-09-11 Stefan Monnier <monnier@iro.umontreal.ca> 82013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
diff --git a/lisp/vc/vc-cvs.el b/lisp/vc/vc-cvs.el
index 931193c46e0..75b54450926 100644
--- a/lisp/vc/vc-cvs.el
+++ b/lisp/vc/vc-cvs.el
@@ -1226,7 +1226,7 @@ is non-nil."
1226 table (lambda () (vc-cvs-revision-table (car files)))))) 1226 table (lambda () (vc-cvs-revision-table (car files))))))
1227 table)) 1227 table))
1228 1228
1229(defun vc-cvs-ignore (file) 1229(defun vc-cvs-ignore (file &optional _directory _remove)
1230 "Ignore FILE under CVS." 1230 "Ignore FILE under CVS."
1231 (cvs-append-to-ignore (file-name-directory file) file)) 1231 (cvs-append-to-ignore (file-name-directory file) file))
1232 1232
@@ -1245,7 +1245,9 @@ to hear about anymore."
1245 (goto-char (point-max)) 1245 (goto-char (point-max))
1246 (unless (bolp) (insert "\n")) 1246 (unless (bolp) (insert "\n"))
1247 (insert str (if old-dir "/\n" "\n")) 1247 (insert str (if old-dir "/\n" "\n"))
1248 (if cvs-sort-ignore-file (sort-lines nil (point-min) (point-max))) 1248 ;; FIXME this is a pcvs variable.
1249 (if (bound-and-true-p cvs-sort-ignore-file)
1250 (sort-lines nil (point-min) (point-max)))
1249 (save-buffer))) 1251 (save-buffer)))
1250 1252
1251(provide 'vc-cvs) 1253(provide 'vc-cvs)