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