From 7d901a4354b0901b15e6fd3498d8667c3c1aff75 Mon Sep 17 00:00:00 2001 From: Blendoit Date: Sun, 13 Dec 2020 18:21:18 -0800 Subject: Mode line --- smart-documents.org | 11 ++++++----- 1 file 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 -- cgit v1.2.3