Skip to content

Commit

Permalink
Fix bytecomp warnings on emacs-29
Browse files Browse the repository at this point in the history
* compiler-explorer.el (compiler-explorer--mode-line-format): Use
line-beginning-position instead of obsolete point-at-bol.
  • Loading branch information
mkcms committed Sep 22, 2023
1 parent 36a2cbf commit 73a353c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler-explorer.el
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,8 @@ This calls `compiler-explorer--handle-compilation-response' and
(goto-char (point-min))
(forward-line 30)
(concat (buffer-substring (point-min)
(point-at-bol))
(unless (= (point-at-bol) (point-max))
(line-beginning-position))
(unless (= (line-beginning-position) (point-max))
(concat "... message truncated. "
"See output buffer to "
"show all.\n"))
Expand Down

0 comments on commit 73a353c

Please sign in to comment.