Skip to content

Commit 3309d64

Browse files
author
DogLooksGood
committed
Fix meow-block, meow-to-block on emacs31
1 parent 0208e0c commit 3309d64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

meow-command.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,7 +1201,7 @@ numeric, repeat times.
12011201
(when (and (if ra (< (car (syntax-ppss)) depth) (<= (car (syntax-ppss)) depth))
12021202
(not (= (point) orig-pos)))
12031203
(setq p (point))
1204-
(when (ignore-errors (forward-list (if back 1 -1)))
1204+
(when (ignore-errors (forward-list (if back 1 -1)) t)
12051205
(setq m (point)))))
12061206
(when (and p m)
12071207
(thread-first
@@ -1228,7 +1228,7 @@ Will create selection with type (expand . block)."
12281228
(when (and (= (car (syntax-ppss)) depth)
12291229
(not (= (point) orig-pos)))
12301230
(setq p (point))
1231-
(when (ignore-errors (forward-list (if back 1 -1)))
1231+
(when (ignore-errors (forward-list (if back 1 -1)) t)
12321232
(setq m (point)))))
12331233
(when (and p m)
12341234
(thread-first

0 commit comments

Comments
 (0)