Mercurial > emacs
changeset 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 | f5ff4554ecda |
children | 7b0de5c2aa2a |
files | lisp/ChangeLog lisp/vc.el |
diffstat | 2 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Tue Nov 24 23:13:55 2009 +0000 +++ b/lisp/ChangeLog Wed Nov 25 03:28:24 2009 +0000 @@ -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
--- 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.