Is there a way to highlight a string in a text (but not ALL such strings) in a buffer where font-lock-mode is on.
Let\'s imagine I have a buffer with SQL mode and
Maybe this helps:
(with-current-buffer "foo" (add-text-properties 1 10 '(comment t face highlight)))
Characters 1-10 will be highlited in buffer "foo".