emacs: make hexl-mode truncate lines by default

This commit is contained in:
Protesilaos Stavrou 2025-03-04 07:25:11 +02:00
parent ac477aac8b
commit e6cfb6c78a
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
2 changed files with 2 additions and 2 deletions

View file

@ -69,7 +69,7 @@
(use-package prot-common
:ensure nil
:functions (prot-common-truncate-lines-silently)
:hook ((text-mode prog-mode dired-mode prot/fundamental-mode) . prot-common-truncate-lines-silently)
:hook ((text-mode prog-mode dired-mode prot/fundamental-mode hexl-mode) . prot-common-truncate-lines-silently)
:init
(defvar prot/fundamental-mode-hook nil
"Normal hook for `fundamental-mode' (which is missing by default).")

View file

@ -2430,7 +2430,7 @@ here:
(use-package prot-common
:ensure nil
:functions (prot-common-truncate-lines-silently)
:hook ((text-mode prog-mode dired-mode prot/fundamental-mode) . prot-common-truncate-lines-silently)
:hook ((text-mode prog-mode dired-mode prot/fundamental-mode hexl-mode) . prot-common-truncate-lines-silently)
:init
(defvar prot/fundamental-mode-hook nil
"Normal hook for `fundamental-mode' (which is missing by default).")