From 662ca8ed886b641cb11fb1c8f75a0f75fa969a56 Mon Sep 17 00:00:00 2001 From: John Turner Date: Thu, 22 Dec 2022 21:28:49 -0500 Subject: [PATCH] added visual-line-mode to compile-mode-hook --- init.el | 1 + init/compile/init-compile.el | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 init/compile/init-compile.el diff --git a/init.el b/init.el index 3bb0003..9d43446 100644 --- a/init.el +++ b/init.el @@ -35,6 +35,7 @@ (require 'init-text-mode) (require 'init-conf-mode) (require 'init-prog-mode) +(require 'init-compile) (require 'init-dired) (require 'init-display-buffer) (require 'init-ediff) diff --git a/init/compile/init-compile.el b/init/compile/init-compile.el new file mode 100644 index 0000000..874aa73 --- /dev/null +++ b/init/compile/init-compile.el @@ -0,0 +1,3 @@ +(add-hook 'compilation-mode-hook 'visual-line-mode) + +(provide 'init-compile)