help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: setnu.el / setnu+.el


From: Drew Adams
Subject: RE: setnu.el / setnu+.el
Date: Thu, 22 Dec 2005 10:42:44 -0800

    > I think what Stefan had in mind is something like:

    > (defface setnu-line-number-face
    >    '((t (:inherit default) (:weight bold)))
    >    "Face used to display the line numbers.")

    Yes, exactly.

OK, thanks. I tried that, adding only this code to file setnu.el (so that it
affects only GNU Emacs):

(unless setnu-running-under-xemacs
  (defface setnu-line-number-face
      '((t (:inherit default) (:weight bold)))
    "Face used to display the line numbers.")
  (setq setnu-line-number-face 'setnu-line-number-face))

(I left the unnecessary face variable, because the rest of the code uses
that, and it is designed to work also with XEmacs.)

Unfortunately, I see no change in behavior. Perhaps someone else would like
to play with this a bit? I personally don't care if the line numbers are
colored, but it would be nice to fix this.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]