 	(*pjs-kernel-functions-present*
 	 (progn (setq *pjs-kernel-functions-present* (when (fi::lep-open-connection-p) (fi:eval-in-lisp "(if (fboundp 'jvs::list-all-js-functions) t nil)")))
 		(when *pjs-kernel-functions-present*
-		  (setq *pjs-kernel-functions-cache* (format "\\(%s\\)" (js--regexp-opt-symbol (when (fi::lep-open-connection-p) (fi:eval-in-lisp "(jvs::list-all-js-functions)"))))))
+		  (setq *pjs-kernel-functions-cache* (format "\\(\\(?:plw\\)?\\.%s\\)" (js--regexp-opt-symbol (when (fi::lep-open-connection-p) (fi:eval-in-lisp "(jvs::list-all-js-functions)"))))))
 		*pjs-kernel-functions-cache*))
 	(t
 	 nil)))
 
-(defun search-kernel-functions (end)
+(defun search-pjs-kernel-functions (end)
   (when (list-pjs-kernel-functions)
     (let ((search-pattern (list-pjs-kernel-functions)))
       (re-search-forward search-pattern end t))))

  ;; Global vars
  (push (cons 'search-global-vars font-lock-variable-name-face) font-locks)
  
  ;; Variable definitions
;;  (push (list *pjs-vars-regexp* 1 font-lock-type-face) font-locks)
;;  (push (list *pjs-vars-regexp* 2 pjs-var-definition-face) font-locks)

  ;; class definitions
  (push (list *pjs-class-definition* 1 font-lock-type-face) font-locks)

;;;; (:require-patch "")
;;;; HISTORY :
;;;; $Log$
;;;; Revision 3.3  2015/12/14 15:34:18  troche
;;;; * var with types
;;;;
;;;; Revision 3.2  2015/12/14 10:42:12  troche
;;;; * colorization
;;;;
