# HG changeset patch # User Stefan Monnier # Date 1259119704 0 # Node ID eb5b55788509a9208767073ca55f9719db1cafcb # Parent f5ff4554ecdad8e5d6475eb15135c1d421bfb59b (vc-print-log-internal): Make `limit' optional for better compatibility (e.g. with vc-annotate.el). diff -r f5ff4554ecda -r eb5b55788509 lisp/ChangeLog --- 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 + + * vc.el (vc-print-log-internal): Make `limit' optional for better + compatibility (e.g. with vc-annotate.el). + 2009-11-24 Kevin Ryde - * 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 diff -r f5ff4554ecda -r eb5b55788509 lisp/vc.el --- 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.