Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Don't print a space after a single :exclude #45

Merged
merged 1 commit into from

2 participants

@guns
Collaborator

Fixes case where

    (:refer-clojure :exclude [sym])

prints as

    (:refer-clojure :exclude [sym ])

EDIT: Improved patch, amended, and force pushed

@guns guns Don't print a space after a single :exclude
Fixes case where

        (:refer-clojure :exclude [sym])

prints as

        (:refer-clojure :exclude [sym ])
a1d8e0c
@technomancy technomancy merged commit a1d8e0c into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 10, 2013
  1. @guns

    Don't print a space after a single :exclude

    guns authored
    Fixes case where
    
            (:refer-clojure :exclude [sym])
    
    prints as
    
            (:refer-clojure :exclude [sym ])
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/slam/hound/prettify.clj
View
2  src/slam/hound/prettify.clj
@@ -35,7 +35,7 @@
"~<(~;~@{~w~^ ~:_~}~;)~:>"))
lis)
(write-out lis)))
- (apply (formatter-out "~w ~:i~@{~w~^ ~:_~}") arg)))
+ (apply (formatter-out "~w~^ ~:i~@{~w~^ ~:_~}") arg)))
(when (next args)
((formatter-out "~_"))))
(do
Something went wrong with that request. Please try again.