[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Recognizing active/inactive mode-line in (:eval ...) form in mode-line-s
From: |
Alessandro Piras |
Subject: |
Recognizing active/inactive mode-line in (:eval ...) form in mode-line-string |
Date: |
Thu, 28 Feb 2013 12:25:27 +0100 |
Is there a way to know if the mode-line is active in a (:eval ...)
form inside the mode-line-string?
A simple example:
mode-line-string =>
("%e" (:eval (if <condition> "foo" "bar")))
I would like to see "foo" on the mode-line of the active window,
"bar" on the others.
--
AP
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Recognizing active/inactive mode-line in (:eval ...) form in mode-line-string,
Alessandro Piras <=