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

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

Re: Automatically highlighting the symbol under point


From: John Mastro
Subject: Re: Automatically highlighting the symbol under point
Date: Fri, 21 Aug 2015 13:31:55 -0700

>> Ideally, I would like it to automatically highlight the symbol under
>> point all the time, or at least when in a programming mode - is that
>> possible and any prior art you can point me at?
>
> Check out `idle-highlight-mode' (available in MELPA) for that:
> https://github.com/nonsequitur/idle-highlight-mode

After you install it, you can active it in programming modes with
something like this:

    (defun my-programming-config ()
      (idle-highlight-mode 1))

    (add-hook 'prog-mode-hook #'my-programming-config)

-- 
john



reply via email to

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