Up: Programming mode [Top][Contents]
Do not wrap long lines, as it breaks the structure for the reader.
(with-eval-after-load 'prog-mode (add-hook 'prog-mode-hook (lambda () (setq truncate-lines t))))