Skip to content

Commit 953e7ab

Browse files
kjmphEli-Zaretskii
authored andcommitted
Improve prefix arg support in 'ediff-scroll-horizontally'
* lisp/vc/ediff-util.el (ediff-scroll-horizontally): Use 'current-prefix-arg' to pass the value of prefix argument to scrolling commands. (Bug#39353) Copyright-paperwork-exempt: yes
1 parent 07e1852 commit 953e7ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lisp/vc/ediff-util.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,10 +1540,10 @@ the width of the A/B/C windows."
15401540
;; hscrolling.
15411541
(if (= last-command-event ?<)
15421542
(lambda (arg)
1543-
(let ((prefix-arg arg))
1543+
(let ((current-prefix-arg arg))
15441544
(call-interactively #'scroll-left)))
15451545
(lambda (arg)
1546-
(let ((prefix-arg arg))
1546+
(let ((current-prefix-arg arg))
15471547
(call-interactively #'scroll-right))))
15481548
;; calculate argument to scroll-left/right
15491549
;; if there is an explicit argument

0 commit comments

Comments
 (0)