Re: confusion (aka specifiers...)

"Stephen J. Turnbull" <[email protected]> Mon, 14 Jun 2004 23:00:59 +0900
Newsgroups gmane.emacs.xemacs.design
Organization The XEmacs Project
Message-ID <[email protected]>
>>>>> "giacomo" == giacomo boffi <[email protected]> writes:

    giacomo>  about performance, now i have

,----
| (set-face-background 'modeline "red3")
| (defun modeline-with-focus ()
|       (set-face-background 'modeline "red2" (current-frame)))
| (defun modeline-w/o-focus ()
|       (set-face-background 'modeline "red3" (current-frame)))
| (add-hook 'selected-frame-hook 'modeline-with-focus)
| (add-hook 'deselected-frame-hook 'modeline-w/o-focus)
`----

    giacomo>  but i see a bit of flicker every time the modeline is changed

What's `current-frame'?  A typo, or do you have a local hack?

BTW, I can't get this to work at all.  :-(  I hope it's just this
particular semi-hacked binary I'm on at the moment....


-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.