Some minor refactors

This commit is contained in:
Alexander Rosenberg 2024-01-18 23:37:05 -08:00
parent 5c74237b4f
commit 882f2a12e3
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730
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: ;;; Commentary:
;;; Code: ;;; 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'." should be as for `eshell-starship--git-interpret-branch-status'."
(let ((merge-conflicts nil) (let ((merge-conflicts nil)
(status-chars nil)) (status-chars nil))
(while (not (= (pos-bol) (pos-eol))) (while (not (eobp))
(cond (cond
((= (char-after) ??) ((= (char-after) ??)
(push ?? status-chars)) (push ?? status-chars))

View File

@ -110,9 +110,6 @@
;; Set fonts ;; Set fonts
(add-to-list 'default-frame-alist '(font . "FiraCode Nerd Font Mono-12")) (add-to-list 'default-frame-alist '(font . "FiraCode Nerd Font Mono-12"))
;; For source lookups
(setq find-function-C-source-directory "~/src/emacs/src/")
;; Some settings for programming ;; Some settings for programming
(setq-default indent-tabs-mode nil (setq-default indent-tabs-mode nil
tab-width 4 tab-width 4