foomaster1200 <foomaster1200@yahoo.com> wrote in message
news:<87znnq4cih.fsf@killr.ath.cx>...
ckugmk@yahoo.com (trex_eater) writes:
(defun high-on2 ( expname)
(interactive "Bexpname: ")
(setq my-temp (concat "\\(" expname "\\)" ))
;; Not sure about the line below...
(setq my-keywords (my-temp (0 my-new-face)))
(setq font-lock-keywords (append font-lock-keywords my-keywords))
I might be wrong... but:
(setq my-keywords (my-temp (0 my-new-face)))
is probably not what you want. You're calling a function "my-temp"
and calling a function "0" within that. You probably get a wrong
function error?
Agreed. But what is the lisp syntax to specify that use the contents
of the variable my-temp while constructing the my-keywords in the
following line:
setq my-keywords (my-temp (0 my-new-face)))