[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to temporarily highlight/unhighlight a word under cursor?
From: |
Leo.Hou |
Subject: |
how to temporarily highlight/unhighlight a word under cursor? |
Date: |
Tue, 14 Aug 2007 15:44:15 -0700 |
User-agent: |
G2/1.0 |
Hi all,
I am happy with the M-x highligh-phrase command except I need to
manually input the complete word every time.
I wonder if it is possible to create a macro or function in the .emacs
file and assign a shortcut to it to automatically highlight the
current word under cursor to the default "hi-yellow" color.
Similarly I hope to have a key to unhighlight it.
Any tip will be great.
Thanks
Leo
- how to temporarily highlight/unhighlight a word under cursor?,
Leo.Hou <=