Browse Source

Use whitelist to enable highlight-indentation-mode

master
10sr 5 years ago
parent
commit
6e400fdae7
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 7 additions and 5 deletions
  1. +7
    -5
      emacs.el

+ 7
- 5
emacs.el View File

@@ -721,11 +721,13 @@ found, otherwise returns nil."




(when (safe-require-or-eval 'highlight-indentation) (when (safe-require-or-eval 'highlight-indentation)
(safe-require-or-eval 'easy-mmode)
(define-globalized-minor-mode global-highlight-indentation-mode
highlight-indentation-mode highlight-indentation-mode)
(global-highlight-indentation-mode 1)
(set-face-background 'highlight-indentation-face "color-236"))
(set-face-background 'highlight-indentation-face "color-236")
(dolist (hook
'(
prog-mode-hook
))
(add-hook hook
'highlight-indentation-mode)))
;; (set-face-background 'highlight-indentation-current-column-face "#c3b3b3") ;; (set-face-background 'highlight-indentation-current-column-face "#c3b3b3")


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


Loading…
Cancel
Save