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 ;; show tags used for filtering in a custom face
(if (or org-agenda-filter (get 'org-agenda-filter (if (or org-agenda-filter (get 'org-agenda-filter
:preset-filter)) :preset-filter))
'(:eval (propertize '(:eval (org-propertize
(concat " {" (concat " {"
(mapconcat (mapconcat
'identity 'identity

View File

@ -673,10 +673,9 @@ month and 365.24 days for a year)."
:group 'org-faces) :group 'org-faces)
(defface org-agenda-filter-tags (defface org-agenda-filter-tags
(org-compatible-face nil (org-compatible-face 'default
'((((background light)) (:foreground "orange")) nil)
(((background dark)) (:foreground "orange")))) "Face for tag(s) in the mode-line when filtering the agenda."
"Face for showing the tags (in the mode-line) which are used in the agenda filtering."
:group 'org-faces) :group 'org-faces)
(defface org-time-grid ;; originally copied from font-lock-variable-name-face (defface org-time-grid ;; originally copied from font-lock-variable-name-face