|
From: | Cecil Westerhof |
Subject: | Re: Emacs running as root with different colors than the standard one. |
Date: | Sun, 15 Jul 2012 13:09:49 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Op zondag 15 jul 2012 10:43 CEST schreef Pascal J. Bourguignon: > Put that: > > (when (= (user-uid) 0) > (set-background-color "red") > (set-foreground-color "black")) > > both in your ~/.emacs and in root's. Does not seem to work. I put as the last statement into my .emacs: (when (= (user-uid) 0) (set-foreground-color "#a9eadf")) The messages while starting are in the asked color, but after being started the text is not. So I changed it to: (when (= (user-uid) 0) (run-with-timer 2 nil '(lambda () (set-foreground-color "#a9eadf")))) Now the messages are not, but the text (very soon) after being started is. And now I put it on a more sensible place. ;-} -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof
[Prev in Thread] | Current Thread | [Next in Thread] |