diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-05-27 14:23:20 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-05-27 14:23:20 +0200 |
| commit | e3806cbb7dd38ab73624ad48024998705f9d0d20 (patch) | |
| tree | a59e207e458a04c8cc64fa1701b3e263ef1e3abe /lisp | |
| parent | 0c134614665c70552aff6786844e4792365ff7e5 (diff) | |
magit-show-commit: Cosmetics
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/magit-diff.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el index 02cbbc7..1548e8b 100644 --- a/lisp/magit-diff.el +++ b/lisp/magit-diff.el @@ -1402,7 +1402,7 @@ for a revision." (magit-section-parent-value (magit-current-section)))))) (require 'magit) (let* ((file (magit-file-relative-name)) - (ln (and file (line-number-at-pos)))) + (line (and file (line-number-at-pos)))) (magit-with-toplevel (when module (setq default-directory @@ -1413,7 +1413,7 @@ for a revision." (save-buffer)) (let ((buf (magit-revision-setup-buffer rev args files))) (when file - (let ((line (magit-diff-visit--offset file (list "-R" rev) ln)) + (let ((line (magit-diff-visit--offset file (list "-R" rev) line)) (col (current-column))) (with-current-buffer buf (magit-diff--goto-position file line col)))))))) |
