Some minor refactors

This commit is contained in:
2024-01-18 23:37:05 -08:00
parent 5c74237b4f
commit 882f2a12e3
2 changed files with 2 additions and 5 deletions

View File

@ -1,4 +1,4 @@
;;; eshell-starship.el --- Starship-like (https://starship.rs) prompt for eshell
;;; eshell-starship.el --- Starship-like (https://starship.rs) prompt for eshell -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:
@ -108,7 +108,7 @@ STASH should be t if there is current stashed data stash. AHEAD and BEHIND
should be as for `eshell-starship--git-interpret-branch-status'."
(let ((merge-conflicts nil)
(status-chars nil))
(while (not (= (pos-bol) (pos-eol)))
(while (not (eobp))
(cond
((= (char-after) ??)
(push ?? status-chars))