1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

automatically delete trailing white space on save in curl-mode

This commit is contained in:
Daniel Stenberg 2004-05-17 06:54:20 +00:00
parent de279099e5
commit c090fdbdf1

View File

@ -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