diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2009-11-25 03:28:24 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2009-11-25 03:28:24 +0000 |
commit | eb708e66249e7b9760b5fb9ce8e047f49191d972 (patch) | |
tree | 3857851df19da7f3782ff47194a54dd16cd4798f /lisp/vc.el | |
parent | f69c67b6f700116815462edfb1f8ad204aead25e (diff) | |
download | emacs-eb708e66249e7b9760b5fb9ce8e047f49191d972.tar.gz |
(vc-print-log-internal): Make `limit' optional for better
compatibility (e.g. with vc-annotate.el).
Diffstat (limited to 'lisp/vc.el')
-rw-r--r-- | lisp/vc.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/vc.el b/lisp/vc.el index 7c4cfbd28af..a866431a57b 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -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. |