diff options
| author | Kyle Meyer <kyle@kyleam.com> | 2015-08-23 20:03:27 -0400 |
|---|---|---|
| committer | Kyle Meyer <kyle@kyleam.com> | 2015-08-24 09:48:44 -0400 |
| commit | 0839fbd987e8eaed1ee795d59c06fbbc79a955b7 (patch) | |
| tree | 740bd6627c709c86e30ae9a700854ae6c9bbe891 /lisp | |
| parent | b640c6f50e0a80d41e3fef4eb036e5124bc2a2e7 (diff) | |
magit-blame: ask window-end for updated value
Otherwise, when magit-blame is called from an indirect buffer, -L is
passed the line number at the end of the buffer instead of the line
number at the end of the window.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/magit-blame.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/magit-blame.el b/lisp/magit-blame.el index b1c6439..30fcc88 100644 --- a/lisp/magit-blame.el +++ b/lisp/magit-blame.el @@ -243,7 +243,7 @@ only arguments available from `magit-blame-popup' should be used. "blame" "--incremental" args "-L" (format "%s,%s" (line-number-at-pos (window-start)) - (line-number-at-pos (1- (window-end)))) + (line-number-at-pos (1- (window-end nil t)))) revision "--" file)) (setq magit-blame-process magit-this-process) (set-process-filter magit-this-process 'magit-blame-process-filter) |
