Commits

Michael Sperber committed ad3ddef

In scheme-mode, set `imenu-syntax-alist' correctly.

2013-03-08 Michael Sperber <mike@xemacs.org>

* scheme.el (scheme-mode-variables): Set `imenu-syntax-alist'
correctly, synching with GNU Emacs.

Comments (0)

Files changed (2)

+2013-03-08  Michael Sperber  <mike@xemacs.org>
+
+	* scheme.el (scheme-mode-variables): Set `imenu-syntax-alist'
+	correctly, synching with GNU Emacs.
+
 2009-11-14  Norbert Koch  <viteno@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.18 released.
   (set lisp-indent-function 'scheme-indent-function)
   (setq mode-line-process '("" scheme-mode-line-process))
   (make-local-variable 'imenu-generic-expression)
-  (setq imenu-generic-expression scheme-imenu-generic-expression))
+  (setq imenu-generic-expression scheme-imenu-generic-expression)
+  (make-local-variable 'imenu-syntax-alist)
+  (setq imenu-syntax-alist '(("+-*/.<>=?!$%_&~^:" . "w"))))
 
 (defvar scheme-mode-line-process "")