Sfoglia il codice sorgente

Add some default hooks for prog-mode

master
Mitchell Tishmack 6 anni fa
committed by Mitch Tishmack
parent
commit
dfdfbd0193
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. +4
    -0
      emacs.org

+ 4
- 0
emacs.org Vedi File

@@ -358,6 +358,10 @@ Customize whitespace mode to make tabs obvious as boxes, and to highlight lines
(set-face-attribute 'whitespace-line nil (set-face-attribute 'whitespace-line nil
:foreground "#2075c7" :foreground "#2075c7"
:background "lightgrey") :background "lightgrey")

(add-hook 'prog-mode 'whitespace-mode)
(add-hook 'prog-mode 'hl-line-mode)
(add-hook 'prog-mode 'visual-line-mode)
#+END_SRC #+END_SRC


*** uncategorized *** uncategorized


Caricamento…
Annulla
Salva