From dfdfbd01930a27dd476cb79e10cdb11579febde1 Mon Sep 17 00:00:00 2001 From: Mitchell Tishmack Date: Wed, 28 Oct 2020 21:37:13 -0500 Subject: [PATCH] Add some default hooks for prog-mode --- emacs.org | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emacs.org b/emacs.org index 68108b2..831b1f6 100644 --- a/emacs.org +++ b/emacs.org @@ -358,6 +358,10 @@ Customize whitespace mode to make tabs obvious as boxes, and to highlight lines (set-face-attribute 'whitespace-line nil :foreground "#2075c7" :background "lightgrey") + +(add-hook 'prog-mode 'whitespace-mode) +(add-hook 'prog-mode 'hl-line-mode) +(add-hook 'prog-mode 'visual-line-mode) #+END_SRC *** uncategorized