Commits

Anonymous committed da40f87

2002-02-15 Alastair Burt <burt@dfki.de>

* psgml-html.el (html-mode): Make 'imenu-create-index-function'
and 'imenu-sort-function' local variables.

  • Participants
  • Parent commits fb1251e

Comments (0)

Files changed (2)

+2002-02-15  Alastair Burt  <burt@dfki.de>
+
+	* psgml-html.el (html-mode): Make 'imenu-create-index-function'
+	and 'imenu-sort-function' local variables.
+
 2002-01-29  Steve Youngs  <youngs@xemacs.org>
 
 	* Makefile (clean): Remove the individual files in 'etc/cdtd/'

File psgml-html.el

   (modify-syntax-entry ?'  "w   " html-mode-syntax-table)
 
   (tempo-use-tag-list 'html-helper-tempo-tags html-helper-completion-finder)
-  (setq imenu-create-index-function 'html-helper-imenu-index)
-  (setq imenu-sort-function nil) ; sorting the menu defeats the purpose
+  (set (make-local-variable 'imenu-create-index-function)
+       'html-helper-imenu-index)
+  (set (make-local-variable 'imenu-sort-function) nil) ; sorting the
+						       ; menu defeats
+						       ; the purpose
 
   ; sigh ...  need to call this now to get things working.
   (sgml-build-custom-menus)