forwarded 690842 http://mail.ring.gr.jp/skk/201210/msg00002.html tags 690842 + sid upstream thanks
On October 18, 2012 at 10:07PM +0900, yashi (at atmark-techno.com) wrote: > If I install ddskk, load-theme in emacs24 does not work properly. That > is, even if you select "tango dark" theme, the background color stays > white. This problem occurs if ccc-setup is loaded in emacs24. To workaround: - Add the following code to ccc.el # editor /usr/share/emacs/site-lisp/ddskk/ccc.el (defun ccc-set-current-color () (setq default-cursor-color (current-cursor-color) default-foreground-color (current-foreground-color) default-background-color (current-background-color)) (set-frame-cursor-color (selected-frame) (current-cursor-color)) (set-frame-foreground-color (selected-frame) (current-foreground-color)) (set-frame-background-color (selected-frame) (current-background-color))) (defadvice enable-theme (after ccc-ad activate) (ccc-set-current-color)) (defadvice disable-theme (after ccc-ad activate) (ccc-set-current-color)) - Recompile ddskk for emacs24 # /usr/lib/emacsen-common/packages/remove/ddskk emacs24 # /usr/lib/emacsen-common/packages/install/ddskk emacs24 Thanks, -- Tatsuya Kinoshita
pgp3sTNEfj183.pgp
Description: PGP signature