emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 953e7ab: Improve prefix arg support in 'ediff-scroll-horizontally


From: Eli Zaretskii
Subject: master 953e7ab: Improve prefix arg support in 'ediff-scroll-horizontally'
Date: Sat, 8 Feb 2020 05:02:11 -0500 (EST)

branch: master
commit 953e7abf5befc560d1c88b6dfbbeb5f52d60e8b6
Author: Kyle Hubert <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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
---
 lisp/vc/ediff-util.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/vc/ediff-util.el b/lisp/vc/ediff-util.el
index a8af9ba..5f8a4a8 100644
--- a/lisp/vc/ediff-util.el
+++ b/lisp/vc/ediff-util.el
@@ -1540,10 +1540,10 @@ the width of the A/B/C windows."
    ;; hscrolling.
    (if (= last-command-event ?<)
        (lambda (arg)
-        (let ((prefix-arg arg))
+        (let ((current-prefix-arg arg))
           (call-interactively #'scroll-left)))
      (lambda (arg)
-       (let ((prefix-arg arg))
+       (let ((current-prefix-arg arg))
         (call-interactively #'scroll-right))))
    ;; calculate argument to scroll-left/right
    ;; if there is an explicit argument



reply via email to

[Prev in Thread] Current Thread [Next in Thread]