Subject: display-line-numbers-mode breaks image-forward-hscroll

From: Tobias Zawada <[email-masked]>
Date: Thu, 29 Dec 2022 13:44:00 +0100 (CET)

display-line-numbers-mode breaks image-forward-hscroll

This affects multiple users, see https://emacs.stackexchange.com/questions/74317/how-can-i-get-horizontal-scrolling-in-pdfview-to-work.

Please, exclude modes that use

image-forward-hscroll

like image-mode, pdf-view-mode and docview-mode in

display-line-numbers--turn-on.

Maybe, the list of excluded major modes should be customizable.

Thanks in advance.

Best regards,
Tobias Zawada