From: Tom Tromey Date: Wed, 10 May 1995 18:22:21 +0000 (+0000) Subject: Bug fix in menu code for XEmacs. X-Git-Tag: emacs-19.34~4069 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=60da020d006184bcc78a3bf0acbfc1bf183049ea;p=emacs.git Bug fix in menu code for XEmacs. --- diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el index 518aa7e781d..f39e2d6da87 100644 --- a/lisp/progmodes/tcl.el +++ b/lisp/progmodes/tcl.el @@ -6,7 +6,7 @@ ;; Author: Tom Tromey ;; Chris Lindblad ;; Keywords: languages tcl modes -;; Version: $Revision: 1.28 $ +;; Version: $Revision: 1.29 $ ;; This file is part of GNU Emacs. @@ -51,7 +51,7 @@ ;; LCD Archive Entry: ;; tcl|Tom Tromey|tromey@busco.lanl.gov| ;; Major mode for editing Tcl| -;; $Date: 1995/04/08 19:52:50 $|$Revision: 1.28 $|~/modes/tcl.el.Z| +;; $Date: 1995/05/09 21:36:53 $|$Revision: 1.29 $|~/modes/tcl.el.Z| ;; CUSTOMIZATION NOTES: ;; * tcl-proc-list can be used to customize a list of things that @@ -65,6 +65,11 @@ ;; Change log: ;; $Log: tcl.el,v $ +;; Revision 1.29 1995/05/09 21:36:53 tromey +;; Changed "Lucid Emacs" to "XEmacs". +;; Tcl's popup menu now added to existing one, courtesy +;; dfarmer@evolving.com (Doug Farmer) +;; ;; Revision 1.28 1995/04/08 19:52:50 tromey ;; (tcl-outline-level): New function ;; (tcl-mode): Added outline-handling stuff. @@ -288,7 +293,7 @@ (require 'imenu)) ())) -(defconst tcl-version "$Revision: 1.28 $") +(defconst tcl-version "$Revision: 1.29 $") (defconst tcl-maintainer "Tom Tromey ") ;; @@ -923,7 +928,7 @@ Commands: (set-buffer-menubar (copy-sequence current-menubar)) (add-menu nil "Tcl" tcl-lucid-menu))) ;; Append Tcl menu to popup menu for XEmacs. - (if (and tcl-using-xemacs-19 (not (boundp 'mode-popup-menu))) + (if (and tcl-using-xemacs-19 (boundp 'mode-popup-menu)) (setq mode-popup-menu tcl-xemacs-menu)) (run-hooks 'tcl-mode-hook))