Rudy’s OBTF Rudolf Adamkovič

Home / Emacs / Hi Lock / Patches


TODO Contribute string highlighting upstream

Quoted highlight hi-lock-face-phrase-buffer (where to bind?):

(defun my-hi-lock-string (string &optional face)
  "Set face of each occurrence of STRING to FACE."
  (interactive
   (list (hi-lock-read-regexp "String to highlight")
         (hi-lock-read-face-name)))
  (hi-lock-face-buffer (regexp-quote string) face))

© 2025 Rudolf Adamkovič under GNU General Public License (GPL) version 3 or later.
Made with Emacs and secret alien technologies of yesteryear.