/[auctex]/auctex/latex.el
ViewVC logotype

Diff of /auctex/latex.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5.369 by angeli, Sat May 14 17:01:06 2005 UTC revision 5.370 by angeli, Sat May 14 19:00:58 2005 UTC
# Line 4520  runs the hooks in `docTeX-mode-hook'." Line 4520  runs the hooks in `docTeX-mode-hook'."
4520    (or LaTeX-largest-level    (or LaTeX-largest-level
4521        (setq LaTeX-largest-level (LaTeX-section-level "section")))        (setq LaTeX-largest-level (LaTeX-section-level "section")))
4522    
   (use-local-map LaTeX-mode-map)  
   (easy-menu-add LaTeX-mode-menu LaTeX-mode-map)  
   (easy-menu-add LaTeX-mode-command-menu LaTeX-mode-map)  
   
4523    (setq TeX-header-end LaTeX-header-end    (setq TeX-header-end LaTeX-header-end
4524          TeX-trailer-start LaTeX-trailer-start)          TeX-trailer-start LaTeX-trailer-start)
4525    
# Line 4881  runs the hooks in `docTeX-mode-hook'." Line 4877  runs the hooks in `docTeX-mode-hook'."
4877  ;; user overrode it.  ;; user overrode it.
4878    
4879    (set (make-local-variable 'imenu-create-index-function)    (set (make-local-variable 'imenu-create-index-function)
4880         'LaTeX-imenu-create-index-function))         'LaTeX-imenu-create-index-function)
4881    
4882      (use-local-map LaTeX-mode-map)
4883      ;; Calling `easy-menu-add' may result in the menu filters being
4884      ;; executed which call `TeX-update-style'.  So this is placed very
4885      ;; late in mode initialization to assure that all relevant variables
4886      ;; are properly initialized before style files try to alter them.
4887      (easy-menu-add LaTeX-mode-menu LaTeX-mode-map)
4888      (easy-menu-add LaTeX-mode-command-menu LaTeX-mode-map))
4889    
4890  (defun LaTeX-imenu-create-index-function ()  (defun LaTeX-imenu-create-index-function ()
4891    "Imenu support function for LaTeX."    "Imenu support function for LaTeX."

Legend:
Removed from v.5.369  
changed lines
  Added in v.5.370

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26