Skip to content

Commit 4089c3d

Browse files
committed
Use bobp
1 parent a18570e commit 4089c3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docstr-util.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ and GREEDY."
230230
(docstr-util--goto-start-comment)
231231
(progn ; Make sure to go outside of symbol
232232
(re-search-backward "[ \t\r\n]" nil t)
233-
(unless (= (point) (point-min)) (forward-char 1)))
233+
(unless (bobp) (forward-char 1)))
234234
(setq start-pt (point))
235235
(re-search-forward comment-start-skip (1+ (line-end-position)) t)
236236
(if (= start-pt (point)) nil

0 commit comments

Comments
 (0)