Updated
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
8507b7f501
commit
bbdd95dc03
@ -224,6 +224,8 @@
|
|||||||
(global-whitespace-mode 1)
|
(global-whitespace-mode 1)
|
||||||
(setq whitespace-display-mappings '((space-mark 32 [?·])))
|
(setq whitespace-display-mappings '((space-mark 32 [?·])))
|
||||||
(set-face-attribute 'whitespace-space nil :background nil :foreground "gray30")
|
(set-face-attribute 'whitespace-space nil :background nil :foreground "gray30")
|
||||||
|
(setq whitespace-style (quote (face tabs spaces trailing space-before-tab newline indentation empty space-after-tab space-mark tab-mark)))
|
||||||
|
(add-hook 'before-save-hook (lambda () (delete-trailing-whitespace)))
|
||||||
|
|
||||||
;; no "bell" (audible notification):
|
;; no "bell" (audible notification):
|
||||||
(setq ring-bell-function 'ignore)
|
(setq ring-bell-function 'ignore)
|
||||||
|
Loading…
Reference in New Issue
Block a user