projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de27909
)
automatically delete trailing white space on save in curl-mode
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 17 May 2004 06:54:20 +0000
(06:54 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 17 May 2004 06:54:20 +0000
(06:54 +0000)
curl-style.el
patch
|
blob
|
history
diff --git
a/curl-style.el
b/curl-style.el
index
b96ce5f
..
7a6dfc3
100644
(file)
--- a/
curl-style.el
+++ b/
curl-style.el
@@
-34,6
+34,8
@@
;; c-mode-base-map because of inheritance ...
(define-key c-mode-base-map "\M-q" 'c-fill-paragraph)
(setq c-recognize-knr-p nil)
+ (add-hook 'write-file-hooks 'delete-trailing-whitespace)
+ (setq show-trailing-whitespace t)
)
;; Set this is in your .emacs if you want to use the c-mode-hook as