font-lock-add-keywords and etc.

John Kuhns john at designadvance.com
Tue May 29 17:06:13 EDT 2007


Hello,

I saw a webpage describing a putback that added font-lock-add-keywords 
to xemacs. I have 21.4.20 here. What do I need to do to get that capability?

Also I tried changing keyword if indentation likeso:

(setq lisp-indent-function 'common-lisp-indent-function)
(mapc #'(lambda (x) (put (cdr x) 'lisp-indent-function (car x)))
				'(((2 2 2 &rest 2) . foreach)
                                   ((2 2 2 2 2 2 2 &rest 2) . for)
                                   ((2 1 &rest 2) . if)
                                   ((2 &rest 2) . letseq)))

All the other keywords work fine but <if> doesn't.

Thanks,
-John Kuhns




More information about the XEmacs-Beta mailing list