Archive for October, 2009
Emacs 23.1 idle-highlight set background problem October 6th, 2009
I recently updated my Emacs to version 23.1 for all the font enhancements (finally). I ran into an issue with setting the region highlighting background. It turns out that this is an issue with ns-win.el file included with Emacs. The fix is simple:
Navigate to Emacs.app/Contents/Resources/lisp/term/
Uncompress ns-win.el.gz, open ns-win.el and change:
(set-face-background 'region "ns_selection_color")
To:
(if (not (face-attribute 'region :background))
(set-face-background 'region "ns_selection_color"))
Then do M-x byte-compile-file RET /Applications/Emacs.app/Contents/Resources/lisp/term/ns-win.el
Now setting the background works as expected. Idle-highlight will now be usable again…
Posted in Development | Comments (0)

