On Nov 8, 2009, at 6:03 PM, Phil Hagelberg wrote:

> (add-hook 'clojure-mode-hook (lambda () (set (make-local-variable
> 'before-save-hook) 'delete-trailing-whitespace))

One wrinkle here is that in Clojure "," is whitespace. It would be nice not to 
strip out trailing commas within doc strings. 

Perhaps Clojure mode could have something custom which treats "," as whitespace 
most of the time, but not within strings.

--Steve

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to