Actually it looks like highlight-symbol.el is nearly perfect. The only problem with it is that it doesn't render background colors properly on matches when hl-line-mode is also used. -Steven On Fri, Apr 12, 2013 at 7:19 PM, Bastien wrote: > Hi Steven, > > Steven Degutis writes: > > > Are these functions defining word boundaries? What are the \\< and \ > > \> used for? Using (current-word) should probably be sufficient, no? > > (current-word t t) would better suits my own needs actually. > > > Also, I didn't realize this until after I tried Chris's solution, but > > I also need it to highlight other occurrences of (current-word) in > > the buffer. > > In that case, I think your first recipe (C-s C-w C-s) is the shortest > solution. > > HTH, > > -- > Bastien >