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.
This commit is contained in:
Bastien Guerry 2011-10-29 13:23:20 +02:00
parent 639699518a
commit 3267c69ccd
2 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -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