Subject: Re: bug#743: 23.0.60; linum-mode margin display wrong

From: [email-masked] (Johan Bockgård)
Date: Fri, 22 Aug 2008 20:41:31 +0200

Markus Triska <[email-masked]> writes:

> One remaining issue is that overlays for line numbers inherit text
> properties. For example:
>
>    $ emacs -Q -f fundamental-mode -f linum-mode
>
>    M-o u
>
> then insert anything, and the line number is also underlined. How to
> best fix this?

Try this:

    (defface linum
      '((t :inherit (shadow default)))
      "Face for displaying line numbers in the display margin."
      :group 'linum)

-- 
Johan Bockgård