summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-07-01 00:00:16 +0100
committerjao <jao@gnu.org>2021-07-01 00:00:16 +0100
commit85bf4acd3e0f29b5068cdc5659986b906f70f2b2 (patch)
tree7de55e704ca386a2402bf642fe9fe1dca3b7405f /lib
parente9534d188eb47a1510da7c971351bd4633a58928 (diff)
downloadelibs-85bf4acd3e0f29b5068cdc5659986b906f70f2b2.tar.gz
elibs-85bf4acd3e0f29b5068cdc5659986b906f70f2b2.tar.bz2
nits
Diffstat (limited to 'lib')
-rw-r--r--lib/doc/jao-org-notes.el5
-rw-r--r--lib/eos/jao-minibuffer.el3
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/doc/jao-org-notes.el b/lib/doc/jao-org-notes.el
index 77cca9e..24698b9 100644
--- a/lib/doc/jao-org-notes.el
+++ b/lib/doc/jao-org-notes.el
@@ -103,8 +103,9 @@
(interactive "P")
(when refresh (jao-org-notes--update-tags))
(or jao-org-notes--tags
- (setq jao-org-notes--tags
- (read (find-file-noselect jao-org-notes-tags-cache-file)))))
+ (let ((b (find-file-noselect jao-org-notes-tags-cache-file)))
+ (with-current-buffer b (goto-char (point-min)))
+ (setq jao-org-notes--tags (read b)))))
(defun jao-org-notes--read-tags ()
(unless jao-org-notes--tags (jao-org-notes-read-tags-cache))
diff --git a/lib/eos/jao-minibuffer.el b/lib/eos/jao-minibuffer.el
index 4528aa7..42b7ed6 100644
--- a/lib/eos/jao-minibuffer.el
+++ b/lib/eos/jao-minibuffer.el
@@ -120,7 +120,8 @@
((not (null eww-data)) (plist-get eww-data :title))
(w3m-current-title)
(t "%b")))
- "%] %*%+ "
+ "%]"
+ (:propertize " %*%+ " face jao-themes-warning)
(:propertize mode-name face jao-themes-f00)
(:propertize ("" minor-mode-alist (vc-mode vc-mode)) face jao-themes-f11)
(:propertize mode-line-position face jao-themes-f12)