(add-hook ‘rhtml-mode-hook (lambda () (set-face-background ‘erb-face “black”) (set-face-underline-p ‘erb-face t) (set-face-background ‘erb-exec-face “black”) (set-face-underline-p ‘erb-exec-face t) )) -nwモードでrhtml-mode標準カラーリングが以下のスクリーンショット よ・め・る・か・! ググったりほかのコピペしてきたinit.elから推測すると方法は3つくらいあるようだ。 “rhtml-modeで色定義しているelファイルを書き換えてしまう” “rhtml-mode-hookでfont-faceの変数名と設定値を上書きする” “rhtml-mode-hookでset-face-ho
![rhtml-modeの読みづらいerbブロックの背景色を変更する〜いろいろ応用効きそう](https://cdn-ak-scissors.b.st-hatena.com/image/square/3fe3542cb9d79009b79893510da8db97c0541791/height=288;version=1;width=512/https%3A%2F%2Fweakboson.files.wordpress.com%2F2011%2F12%2Fscreen-shot-2011-12-30-at-6-40-51-pm.png)