File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2263,7 +2263,7 @@ See: https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-update-project-d
2263
2263
(unless (looking-at " \s *?$" )
2264
2264
(newline ))
2265
2265
(indent-region fn-start (cljr--point-after 'paredit-forward-up )))
2266
- (when (not ( or ( null locals) ( string= " " locals)) )
2266
+ (when (cljr-- string-present-p locals)
2267
2267
(insert (format " (partial %s ) " locals))
2268
2268
(backward-char (length (concat " " locals " )" ))))
2269
2269
(if name
@@ -3206,7 +3206,7 @@ See: https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-create-fn-from-e
3206
3206
3207
3207
(:else sexp-forms*))))
3208
3208
(prefix (cljr--symbol-prefix symbol-at-point))
3209
- (path (when (not ( or ( null prefix) ( string= " " prefix)) )
3209
+ (path (when (cljr-- string-present-p prefix)
3210
3210
(cljr--ns-path (cljr--resolve-alias prefix)))))
3211
3211
(push-mark )
3212
3212
(if (cljr--symbolp symbol-at-point)
You can’t perform that action at this time.
0 commit comments