Skip to content

Commit 986d317

Browse files
committed
Fix table detection at beginning of buffer
See GH-373 and #373 (comment)
1 parent d18a8f8 commit 986d317

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

markdown-mode.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8819,7 +8819,8 @@ This function assumes point is on a table."
88198819
(while (and (not (bobp))
88208820
(markdown-table-at-point-p))
88218821
(forward-line -1))
8822-
(unless (eobp)
8822+
(unless (or (eobp)
8823+
(markdown-table-at-point-p))
88238824
(forward-line 1))
88248825
(point)))
88258826

0 commit comments

Comments
 (0)