Re: confusion (aka specifiers...)
giacomo boffi <[email protected]> Mon, 14 Jun 2004 18:23:14 +0200
| Newsgroups | gmane.emacs.xemacs.design |
|---|---|
| Message-ID | <[email protected]> |
Stephen J. Turnbull writes: > >>>>> "giacomo" == giacomo boffi <[email protected]> writes: > > giacomo> about performance, now i have > > [...] > > 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? selected-frame > 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.... the piece of code below works for me (with a bit of flicker) (defun modeline-in () (set-face-background 'modeline "DeepSkyBlue2" (selected-frame))) (defun modeline-out () (set-face-background 'modeline "DeepSkyBlue3" (selected-frame))) (add-hook 'select-frame-hook 'modeline-in) (add-hook 'deselect-frame-hook 'modeline-out)