From 167ac719bb4a03bc6ff26cb73813495c78fcc495 Mon Sep 17 00:00:00 2001 From: Sako <78461130+Sakooooo@users.noreply.github.com> Date: Fri, 15 Dec 2023 12:46:26 +0400 Subject: [PATCH] Update emacs.org --- config/emacs/emacs.org | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index db426d09..2f0b9d81 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -196,13 +196,9 @@ Should make startup faster, taken from doom-emacs ((eq evil-state 'emacs) (propertize " EMACS " 'face '(:background "#9900ff" :foreground "#000000"))) - ((eq evil-state 'yank) (propertize " YANK " - 'face '(:background "#ffff00" - :foreground "#000000"))) - - ((eq evil-state 'delete) (propertize " DELETE " - 'face '(:background "#ff3300" - :foreground "#000000"))) + ((eq evil-state 'operator) (propertize " OPERATOR " + 'face '(:background "#ff3300" + :foreground "#000000"))) )) ;; end EVIL state @@ -216,7 +212,20 @@ Should make startup faster, taken from doom-emacs " " ;; end BUFFER name - )) + ;; begin modified thingy + + (:eval + (cond + (buffer-read-only + (propertize ">:(" + 'face '(:foreground "red" :weight 'bold) + 'help-echo "buffer is read only")) + ((buffer-modified-p) + (propertize "!!!" + 'face '(:foreground "orange"))))) + ;; end modified thingy + + )) #+end_src * Packages ** Log state