Source

psgml / psgml-html.el

Diff from to

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)