From 483191dff1b349c47300e05a4ce0837b85adb501 Mon Sep 17 00:00:00 2001 From: Vasilij Schneidermann Date: Mon, 1 Sep 2014 21:51:24 +0200 Subject: [PATCH] Adjust code to follow conventions --- eyebrowse.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/eyebrowse.el b/eyebrowse.el index 8cc959c..2f02096 100644 --- a/eyebrowse.el +++ b/eyebrowse.el @@ -252,9 +252,8 @@ last window config." ;; `current-slot' is used differently than usual, this time ;; in a propertize context - ;; TODO make this less surprising - (current-slot (number-to-string (eyebrowse-get 'current-slot))) - (active-item (propertize current-slot + (current-slot (eyebrowse-get 'current-slot)) + (active-item (propertize (number-to-string current-slot) 'face 'eyebrowse-mode-line-active)) (window-configs (eyebrowse-get 'window-configs)) (window-config-slots (mapcar (lambda (item)