Hi,
the regexp for JavaScript functions incorrectly picks up things that
look like functions inside of comments. For example it picks up the
function will from the following code snippet:
//when we select radio button in popup window
//this function will be initiated first
The patch below corrects this problem.
*** src/lisp/func-menu.el Thu Dec 2 09:54:51 2004
--- /usr/share/xemacs/xemacs-packages/lisp/edit-utils/func-menu.el Sun Dec 15
22:30:27 2002
***************
*** 827,833 ****
;; JavaScript
;;
(defvar fume-function-name-regexp-javascript
! "^\\(\\|\\([^/]\\|/[^/]\\)[ \t;{]\\)function[
\t]+\\([a-zA-Z_\\$][a-zA-Z0-9_\\$]*\\)"
"Expression to get JavaScript function names.")
;; Postscript
--- 827,833 ----
;; JavaScript
;;
(defvar fume-function-name-regexp-javascript
! "\\(^\\|[ \t;{]\\)function[ \t]+\\([a-zA-Z_\\$][a-zA-Z0-9_\\$]*\\)"
"Expression to get JavaScript function names.")
;; Postscript