summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2010-06-25 18:47:12 +0200
committerThien-Thi Nguyen <ttn@gnuvola.org>2010-06-25 18:47:12 +0200
commit554137a7e9fcf71882de3ef70d153fc60d0668e5 (patch)
tree838f09ef8e2b76eb27da4724ce1224fedbb3f377 /HACKING
parent5b379729bb5f5d06ceb02c4e96ccc62cf61f9c62 (diff)
HACKING: Mention (add-hook 'before-save-hook 'delete-trailing-whitespace)
* HACKING (Coding standards): Mention ‘(add-hook 'before-save-hook 'delete-trailing-whitespace)’.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING3
1 files changed, 3 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index 7463fe5b5..82839a566 100644
--- a/HACKING
+++ b/HACKING
@@ -282,6 +282,9 @@ them in THANKS.
opportunistically, that is, if doing so is part of some other change).
The goal is to reduce (and over time, eliminate) spurious diffs.
+For Emacs users:
+ (add-hook 'before-save-hook 'delete-trailing-whitespace)
+
Naming conventions =================================================
We use certain naming conventions to structure the considerable number