Fix: make 'xwidget-webkit-scroll-backward' scroll backwards
* lisp/xwidget.el (xwidget-webkit-scroll-backward): Move hyphen out of %-formatter, changing semantics from a padding specifier to a negative sign. (Bug#71792) Copyright-paperwork-exempt: yes
This commit is contained in:
parent
358085997c
commit
44f269d6e6
1 changed files with 1 additions and 1 deletions
|
@ -378,7 +378,7 @@ one char."
|
|||
(> (window-hscroll) 0))
|
||||
(set-window-hscroll nil (- (window-hscroll) n))
|
||||
(xwidget-webkit-execute-script session
|
||||
(format "window.scrollBy(%-d, 0);"
|
||||
(format "window.scrollBy(-%d, 0);"
|
||||
(* n (window-font-width)))))))
|
||||
|
||||
(defun xwidget-webkit-scroll-top ()
|
||||
|
|
Loading…
Add table
Reference in a new issue