File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -460,7 +460,9 @@ Insert KEY if there's no command."
460
460
(should (string= (lispy-with " (list\n (foo)\n |(bar))" " \C -?" )
461
461
" (list\n (foo) |(bar))" ))
462
462
(should (string= (lispy-with " (list\n (foo)\n |\" bar\" )" " \C -?" )
463
- " (list\n (foo) |\" bar\" )" )))
463
+ " (list\n (foo) |\" bar\" )" ))
464
+ (should (string= (lispy-with " |(foo)" " \C -?" )
465
+ " |(foo)" )))
464
466
465
467
(ert-deftest lispy-pair ()
466
468
(should (string= (lispy-with " \" \\\\ |\" " " (" )
Original file line number Diff line number Diff line change @@ -913,8 +913,10 @@ Otherwise (`backward-delete-char-untabify' ARG)."
913
913
914
914
((looking-back " ^ *" )
915
915
(delete-region
916
- (1- ( line-beginning-position ) )
916
+ (line-beginning-position )
917
917
(point ))
918
+ (unless (bobp )
919
+ (backward-delete-char 1 ))
918
920
(unless (or (eolp )
919
921
(looking-at lispy-right))
920
922
(just-one-space ))
You can’t perform that action at this time.
0 commit comments