summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2011-10-29 13:23:20 +0200
committerBastien Guerry <bzg@altern.org>2011-10-29 13:23:20 +0200
commit3267c69ccd17e8f43e6cee16f869f6622d46ae68 (patch)
tree7919380307e97de3d56c832a2395edd07ffeb81d
parent639699518ab24e43c3c449d925795ff91e1c3fd4 (diff)
downloadorg-mode-3267c69ccd17e8f43e6cee16f869f6622d46ae68.tar.gz
Small improvements over the previous commit.
Use org-propertize instead of propertize and use a better default for tags in the mode-line when filtering.
-rw-r--r--lisp/org-agenda.el2
-rw-r--r--lisp/org-faces.el7
2 files changed, 4 insertions, 5 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 21a2439..bcc2de4 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -6767,7 +6767,7 @@ When called with a prefix argument, include all archive files as well."
;; show tags used for filtering in a custom face
(if (or org-agenda-filter (get 'org-agenda-filter
:preset-filter))
- '(:eval (propertize
+ '(:eval (org-propertize
(concat " {"
(mapconcat
'identity
diff --git a/lisp/org-faces.el b/lisp/org-faces.el
index 519c858..7c66c89 100644
--- a/lisp/org-faces.el
+++ b/lisp/org-faces.el
@@ -673,10 +673,9 @@ month and 365.24 days for a year)."
:group 'org-faces)
(defface org-agenda-filter-tags
- (org-compatible-face nil
- '((((background light)) (:foreground "orange"))
- (((background dark)) (:foreground "orange"))))
- "Face for showing the tags (in the mode-line) which are used in the agenda filtering."
+ (org-compatible-face 'default
+ nil)
+ "Face for tag(s) in the mode-line when filtering the agenda."
:group 'org-faces)
(defface org-time-grid ;; originally copied from font-lock-variable-name-face