File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1619,8 +1619,8 @@ Point must be between the opening paren and the -> symbol."
1619
1619
(forward-sexp )
1620
1620
(down-list -1 )
1621
1621
(backward-sexp 2 ) ; ; the last sexp, the threading macro
1622
- (when (looking-back " (\\ s-*" )
1623
- (backward-up-list )) ; ; and the paren
1622
+ (when (looking-back " (\\ s-*" ( line-beginning-position ) )
1623
+ (backward-up-list )) ; ; and the paren
1624
1624
(= beg (point )))))
1625
1625
1626
1626
;;;### autoload
@@ -1668,7 +1668,7 @@ Return nil if there are no more levels to unwind."
1668
1668
(forward-sexp 2 )
1669
1669
(down-list -1 )
1670
1670
(backward-sexp )
1671
- (unless (looking-back " ( " )
1671
+ (unless (eq ( char-before ) ?\( )
1672
1672
(let ((contents (clojure-delete-and-extract-sexp)))
1673
1673
(just-one-space 0 )
1674
1674
(backward-up-list )
@@ -1678,7 +1678,7 @@ Return nil if there are no more levels to unwind."
1678
1678
; ; cljr #255 Fix dangling parens
1679
1679
(backward-up-list )
1680
1680
(forward-sexp )
1681
- (when (looking-back " ^\\ s-*)+\\ s-*" )
1681
+ (when (looking-back " ^\\ s-*)+\\ s-*" ( line-beginning-position ) )
1682
1682
(join-line ))
1683
1683
t )))
1684
1684
You can’t perform that action at this time.
0 commit comments