Search code examples
emacsbackground-colorregion

Emacs background color limited to region


I was wondering how I could set the background color for a given region of the emacs frame.

The programming standard I'm following specifies max line width of 80 chars, which sometimes is ignored for convenience and readability. Now, say the frame is of some width greater than 80 chars, it would be very nice if this outside region could have a different background color.

If anyone could assist, I'd be very grateful.


Solution

  • Already done for you. Read:

    and follow links.