Update emacs.org

This commit is contained in:
Sakooooo 2023-12-15 12:46:26 +04:00 committed by GitHub
parent 50937e4cf0
commit 167ac719bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -196,13 +196,9 @@ Should make startup faster, taken from doom-emacs
((eq evil-state 'emacs) (propertize " EMACS " ((eq evil-state 'emacs) (propertize " EMACS "
'face '(:background "#9900ff" 'face '(:background "#9900ff"
:foreground "#000000"))) :foreground "#000000")))
((eq evil-state 'yank) (propertize " YANK " ((eq evil-state 'operator) (propertize " OPERATOR "
'face '(:background "#ffff00" 'face '(:background "#ff3300"
:foreground "#000000"))) :foreground "#000000")))
((eq evil-state 'delete) (propertize " DELETE "
'face '(:background "#ff3300"
:foreground "#000000")))
)) ))
;; end EVIL state ;; end EVIL state
@ -216,7 +212,20 @@ Should make startup faster, taken from doom-emacs
" " " "
;; end BUFFER name ;; 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 #+end_src
* Packages * Packages
** Log state ** Log state