[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ideas for hl-line-mode
From: |
Eli Zaretskii |
Subject: |
Re: Ideas for hl-line-mode |
Date: |
Fri, 30 Sep 2011 09:59:07 +0300 |
> From: Dave Abrahams <address@hidden>
> Date: Thu, 29 Sep 2011 22:40:21 -0400
>
> I just realized that there are a whole bunch of modes where the
> horizontal position of the cursor just doesn't matter, and that these
> correspond almost exactly to where I want hl-line-mode active. In these
> modes would also want to make the cursor very close to the color of the
> highlight. It would be nice if emacs had a way for modes to represent
> that they're "vertical-position-only modes" so that this sort of thing
> could be set up programmatically.
Does
(eq (get major-mode 'mode-class) 'special)
do what you want?