Skip to content

Commit

Permalink
Linter complains that delete line is a new function
Browse files Browse the repository at this point in the history
Signed-off-by: Psionik K <[email protected]>
  • Loading branch information
psionic-k committed Nov 15, 2023
1 parent 0d2e7d6 commit ab163f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion command-log.el
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,8 @@ hook."
;; here."
(when (> (count-lines (point-min) (point-max)) comint-max-line-length)
(goto-char (point-min))
(delete-line))
;; TODO linter said this was Emacs 29 lol.
(delete-region (pos-bol) (pos-bol 2)))
;; TODO this probably is not the best way to autoscroll
(command-log--scroll-buffer-windows))))

Expand Down

0 comments on commit ab163f9

Please sign in to comment.