all repos — nixfiles @ 3da76fef7e1910faa8e3fd21f2e5697c735f80af

System and user configuration, managed by nix and home-manager

Emacs: Only wrap lines in non-prog modes

Alan Pearce
commit

3da76fef7e1910faa8e3fd21f2e5697c735f80af

parent

a6d1c9cdbb9b66011d1a87bf1ea688b5014ce2b9

1 file changed, 6 insertions(+), 1 deletion(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -1936,6 +1936,11 @@ ;; #+END_SRC
;;;;; Programming + +(define-hook-helper prog-mode () + :name long-lines + (setq-local truncate-lines t)) + ;;;;;; flycheck ;; On-the-fly error checking in programming modes? Yes please.
@@ -2637,7 +2642,7 @@ (put 'upcase-region 'disabled nil)
(put 'downcase-region 'disabled nil) (setq sentence-end-double-space t line-move-visual nil) -(setq-default truncate-lines t) +(setq-default truncate-lines nil) ;; #+END_SRC ;;;;;; align