Commit c090fdbd authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

automatically delete trailing white space on save in curl-mode

parent de279099
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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