CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    06/07/15 08:20:57

Index: latex.el
===================================================================
RCS file: /cvsroot/auctex/auctex/latex.el,v
retrieving revision 5.415
retrieving revision 5.416
diff -u -b -r5.415 -r5.416
--- latex.el    12 Jul 2006 20:16:13 -0000      5.415
+++ latex.el    15 Jul 2006 08:20:57 -0000      5.416
@@ -4653,7 +4653,8 @@
 (defun LaTeX-maybe-install-toolbar ()
   "Conditionally install tool bar buttons for LaTeX mode.
 Install tool bar if `LaTeX-enable-toolbar' is non-nil."
-  (when LaTeX-enable-toolbar
+  (when (and (eq major-mode 'latex-mode)
+            LaTeX-enable-toolbar)
     ;; Defined in `tex-bar.el':
     (LaTeX-install-toolbar)))
 


_______________________________________________
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to