Change themes, remove trailing whitespace on save

This commit is contained in:
Maciej Szlosarczyk 2017-08-25 13:59:33 +03:00
parent 044082974d
commit 52d60d1297
No known key found for this signature in database
GPG key ID: 0D4EEACF63D4262E
3 changed files with 24 additions and 2 deletions

View file

@ -45,6 +45,9 @@
;; Enable y/n answers to questions
(fset 'yes-or-no-p 'y-or-n-p)
;; Trim trailing whitespace on save
(add-hook 'before-save-hook 'delete-trailing-whitespace)
;;;;;;;;;;;;;;;;;;;;;;;; code behaviour ;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Add ruler at 80, do not wrap lines (can be overwritten later)