Mercurial > emacs
diff lisp/vc.el @ 106230:eb5b55788509
(vc-print-log-internal): Make `limit' optional for better
compatibility (e.g. with vc-annotate.el).
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 25 Nov 2009 03:28:24 +0000 |
parents | f5e8e91b23bf |
children | 2e9a20121a4f |
line wrap: on
line diff
--- a/lisp/vc.el Tue Nov 24 23:13:55 2009 +0000 +++ b/lisp/vc.el Wed Nov 25 03:28:24 2009 +0000 @@ -1859,7 +1859,8 @@ 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.