diff options
Diffstat (limited to 'lisp/vc-mtn.el')
-rw-r--r-- | lisp/vc-mtn.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/vc-mtn.el b/lisp/vc-mtn.el index e03dfaad350..05be5c8ef11 100644 --- a/lisp/vc-mtn.el +++ b/lisp/vc-mtn.el @@ -188,8 +188,9 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches." ;; (defun vc-mtn-roolback (files) ;; ) -(defun vc-mtn-print-log (files &optional buffer shortlog) - (vc-mtn-command buffer 0 files "log")) +(defun vc-mtn-print-log (files buffer &optional shortlog limit) + (apply 'vc-mtn-command buffer 0 files "log" + (when limit (list "--last" (format "%s" limit))))) (defvar log-view-message-re) (defvar log-view-file-re) |