aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Tromey1995-05-10 23:38:12 +0000
committerTom Tromey1995-05-10 23:38:12 +0000
commit1305021dea3b2980a199d2b17f239cdc80e11087 (patch)
tree69197bdad398267ad3384961848d8aecefc30a18
parent60da020d006184bcc78a3bf0acbfc1bf183049ea (diff)
downloademacs-1305021dea3b2980a199d2b17f239cdc80e11087.tar.gz
emacs-1305021dea3b2980a199d2b17f239cdc80e11087.zip
(tcl-add-fsf-menu): Use make-lucid-menu-keymap, not
"make-xemacs-menu-keymap".
-rw-r--r--lisp/progmodes/tcl.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el
index f39e2d6da87..80cc015fdff 100644
--- a/lisp/progmodes/tcl.el
+++ b/lisp/progmodes/tcl.el
@@ -6,7 +6,7 @@
6;; Author: Tom Tromey <tromey@busco.lanl.gov> 6;; Author: Tom Tromey <tromey@busco.lanl.gov>
7;; Chris Lindblad <cjl@lcs.mit.edu> 7;; Chris Lindblad <cjl@lcs.mit.edu>
8;; Keywords: languages tcl modes 8;; Keywords: languages tcl modes
9;; Version: $Revision: 1.29 $ 9;; Version: $Revision: 1.30 $
10 10
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12 12
@@ -51,7 +51,7 @@
51;; LCD Archive Entry: 51;; LCD Archive Entry:
52;; tcl|Tom Tromey|tromey@busco.lanl.gov| 52;; tcl|Tom Tromey|tromey@busco.lanl.gov|
53;; Major mode for editing Tcl| 53;; Major mode for editing Tcl|
54;; $Date: 1995/05/09 21:36:53 $|$Revision: 1.29 $|~/modes/tcl.el.Z| 54;; $Date: 1995/05/10 18:22:21 $|$Revision: 1.30 $|~/modes/tcl.el.Z|
55 55
56;; CUSTOMIZATION NOTES: 56;; CUSTOMIZATION NOTES:
57;; * tcl-proc-list can be used to customize a list of things that 57;; * tcl-proc-list can be used to customize a list of things that
@@ -65,6 +65,9 @@
65 65
66;; Change log: 66;; Change log:
67;; $Log: tcl.el,v $ 67;; $Log: tcl.el,v $
68;; Revision 1.30 1995/05/10 18:22:21 tromey
69;; Bug fix in menu code for XEmacs.
70;;
68;; Revision 1.29 1995/05/09 21:36:53 tromey 71;; Revision 1.29 1995/05/09 21:36:53 tromey
69;; Changed "Lucid Emacs" to "XEmacs". 72;; Changed "Lucid Emacs" to "XEmacs".
70;; Tcl's popup menu now added to existing one, courtesy 73;; Tcl's popup menu now added to existing one, courtesy
@@ -293,7 +296,7 @@
293 (require 'imenu)) 296 (require 'imenu))
294 ())) 297 ()))
295 298
296(defconst tcl-version "$Revision: 1.29 $") 299(defconst tcl-version "$Revision: 1.30 $")
297(defconst tcl-maintainer "Tom Tromey <tromey@drip.colorado.edu>") 300(defconst tcl-maintainer "Tom Tromey <tromey@drip.colorado.edu>")
298 301
299;; 302;;
@@ -439,7 +442,7 @@ quoted for Tcl.")
439 (define-key map [menu-bar] (make-sparse-keymap)) 442 (define-key map [menu-bar] (make-sparse-keymap))
440 ;; This fails in Emacs 19.22 and earlier. 443 ;; This fails in Emacs 19.22 and earlier.
441 (require 'lmenu) 444 (require 'lmenu)
442 (let ((menu (make-xemacs-menu-keymap "Tcl" (cdr tcl-xemacs-menu)))) 445 (let ((menu (make-lucid-menu-keymap "Tcl" (cdr tcl-xemacs-menu))))
443 (define-key map [menu-bar tcl] (cons "Tcl" menu)) 446 (define-key map [menu-bar tcl] (cons "Tcl" menu))
444 ;; The following is intended to compute the key sequence 447 ;; The following is intended to compute the key sequence
445 ;; information for the menu. It doesn't work. 448 ;; information for the menu. It doesn't work.