]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-print-log-internal): Make `limit' optional for better
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 25 Nov 2009 03:28:24 +0000 (03:28 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 25 Nov 2009 03:28:24 +0000 (03:28 +0000)
compatibility (e.g. with vc-annotate.el).

lisp/ChangeLog
lisp/vc.el

index 04cbca0e7213415ac1eaf767983189d1f0364509..b11127c7a7b3174faee21cdc07326fdd48bbeeb5 100644 (file)
@@ -1,7 +1,12 @@
+2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * vc.el (vc-print-log-internal): Make `limit' optional for better
+       compatibility (e.g. with vc-annotate.el).
+
 2009-11-24  Kevin Ryde  <user42@zip.com.au>
 
-       * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Build
-       value with regexp-opt instead of explicit joining loop.  (My
+       * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
+       Build value with regexp-opt instead of explicit joining loop.  (My
        Bug#4927.)
 
        * emacs-lisp/elint.el (elint-add-required-env): Better error message
index 7c4cfbd28afae3e2d6f0cfee4f079cf5c853d5d8..a866431a57b8567113ad11d6bff79f5bbab0f801 100644 (file)
@@ -1859,7 +1859,8 @@ If it contains `directory' then if the fileset contains a directory show a short
 If it contains `file' then show short logs for files.
 Not all VC backends support short logs!")
 
-(defun vc-print-log-internal (backend files working-revision limit)
+(defun vc-print-log-internal (backend files working-revision
+                                      &optional limit)
   ;; Don't switch to the output buffer before running the command,
   ;; so that any buffer-local settings in the vc-controlled
   ;; buffer can be accessed by the command.