Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

Commit 00136036 authored by Ryan C. Thompson's avatar Ryan C. Thompson

Add explanation for use of write-contents-functions

parent 5fbfb3ca
......@@ -9,6 +9,7 @@
(whitespace-style face trailing lines-tail)
(whitespace-line-column . 80)
(eval ignore-errors
"Write-contents-functions is a buffer-local alternative to before-save-hook"
(add-hook 'write-contents-functions
(lambda ()
(delete-trailing-whitespace (point-min) (point-max))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment