summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlendoit <blendoit@gmail.com>2020-12-13 18:21:18 -0800
committerBlendoit <blendoit@gmail.com>2020-12-13 18:21:18 -0800
commit7d901a4354b0901b15e6fd3498d8667c3c1aff75 (patch)
tree390c1f35c84513cd1eafb4b57d6e07b9930057c2
parent2e6c92f577879fa6a94ebbe0f1aca40fe5f0b03e (diff)
Mode line
-rw-r--r--smart-documents.org11
1 files changed, 6 insertions, 5 deletions
diff --git a/smart-documents.org b/smart-documents.org
index 562b0b3..e8073e8 100644
--- a/smart-documents.org
+++ b/smart-documents.org
@@ -1007,11 +1007,12 @@ various customizations online.
'(:eval (if buffer-read-only
(propertize "🔒" 'help-echo "C-x C-q: unlock buffer.")
(propertize "🔓" 'help-echo "C-x C-q: lock buffer.")))
- " " mode-line-buffer-identification " "
- '(:eval (if (buffer-modified-p) "🖉" "✓"))
- " " mode-line-modes " "
- mode-line-end-spaces))
-
+ '(:eval (if (buffer-modified-p)
+ (propertize " 🖉 " 'help-echo "Buffer is modified.")
+ (propertize " ✓ " 'help-echo "Buffer is saved.")))
+ mode-line-buffer-identification " "
+ mode-line-modes " "
+ mode-line-end-spaces))
#+END_SRC
*** Emojis
Copyright 2019--2024 Marius PETER