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

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

Re: Apply Emacs-Lisp `font-lock' rules to a string


From: John Mastro
Subject: Re: Apply Emacs-Lisp `font-lock' rules to a string
Date: Mon, 24 Aug 2015 13:40:22 -0700

> (minibuffer-message
>  (my-font-lock-string #'emacs-lisp-mode "\"\\\\(1\\\\|2\\\\)\""))

Oops, got the arguments backward there:

(minibuffer-message
 (my-font-lock-string "\"\\\\(1\\\\|2\\\\)\"" #'emacs-lisp-mode))

-- 
john



reply via email to

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