comparison lisp/progmodes/tcl.el @ 7781:22449aa6d5ae

Another menu fix.
author Tom Tromey <tromey@redhat.com>
date Fri, 03 Jun 1994 21:09:19 +0000
parents 98874151109a
children 1eb0d0f0f71b
comparison
equal deleted inserted replaced
7780:98874151109a 7781:22449aa6d5ae
4 4
5 ;; Maintainer: Tom Tromey <tromey@busco.lanl.gov> 5 ;; Maintainer: Tom Tromey <tromey@busco.lanl.gov>
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.17 $ 9 ;; Version: $Revision: 1.18 $
10 10
11 ;; This file is part of GNU Emacs. 11 ;; This file is part of GNU Emacs.
12 12
13 ;; GNU Emacs is free software; you can redistribute it and/or modify 13 ;; GNU Emacs is free software; you can redistribute it and/or modify
14 ;; it under the terms of the GNU General Public License as published by 14 ;; it under the terms of the GNU General Public License as published by
49 ;;; Commentary: 49 ;;; Commentary:
50 50
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: 1994/06/03 00:47:15 $|$Revision: 1.17 $|~/modes/tcl.el.Z| 54 ;; $Date: 1994/06/03 20:39:14 $|$Revision: 1.18 $|~/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
58 ;; "define" other things. Eg in my project I put "defvar" in this 58 ;; "define" other things. Eg in my project I put "defvar" in this
59 ;; list. 59 ;; list.
63 ;; * tcl-type-alist can be used to minimally customize indentation 63 ;; * tcl-type-alist can be used to minimally customize indentation
64 ;; according to context. 64 ;; according to context.
65 65
66 ;; Change log: 66 ;; Change log:
67 ;; $Log: tcl.el,v $ 67 ;; $Log: tcl.el,v $
68 ; Revision 1.18 1994/06/03 20:39:14 tromey
69 ; Fixed menu bug.
70 ;
68 ; Revision 1.17 1994/06/03 00:47:15 tromey 71 ; Revision 1.17 1994/06/03 00:47:15 tromey
69 ; Fixed bug in bug-reporting code. 72 ; Fixed bug in bug-reporting code.
70 ; 73 ;
71 ; Revision 1.16 1994/05/26 05:06:14 tromey 74 ; Revision 1.16 1994/05/26 05:06:14 tromey
72 ; Menu items now sensitive as appropriate. 75 ; Menu items now sensitive as appropriate.
247 (if (and (string-match "19\\." emacs-version) 250 (if (and (string-match "19\\." emacs-version)
248 (not (string-match "Lucid" emacs-version))) 251 (not (string-match "Lucid" emacs-version)))
249 (require 'imenu)) 252 (require 'imenu))
250 ())) 253 ()))
251 254
252 (defconst tcl-version "$Revision: 1.17 $") 255 (defconst tcl-version "$Revision: 1.18 $")
253 (defconst tcl-maintainer "Tom Tromey <tromey@busco.lanl.gov>") 256 (defconst tcl-maintainer "Tom Tromey <tromey@busco.lanl.gov>")
254 257
255 ;; 258 ;;
256 ;; User variables. 259 ;; User variables.
257 ;; 260 ;;
376 ["Comment region" comment-region (tcl-mark)] 379 ["Comment region" comment-region (tcl-mark)]
377 ["Uncomment region" tcl-uncomment-region (tcl-mark)] 380 ["Uncomment region" tcl-uncomment-region (tcl-mark)]
378 "----" 381 "----"
379 ["Show Tcl process buffer" inferior-tcl t] 382 ["Show Tcl process buffer" inferior-tcl t]
380 ["Send function to Tcl process" tcl-eval-defun 383 ["Send function to Tcl process" tcl-eval-defun
381 (and inferior-tcl (get-buffer inferior-tcl-buffer))] 384 (and inferior-tcl-buffer (get-buffer inferior-tcl-buffer))]
382 ["Send region to Tcl process" tcl-eval-region 385 ["Send region to Tcl process" tcl-eval-region
383 (and inferior-tcl (get-buffer inferior-tcl-buffer))] 386 (and inferior-tcl-buffer (get-buffer inferior-tcl-buffer))]
384 ["Send file to Tcl process" tcl-load-file 387 ["Send file to Tcl process" tcl-load-file
385 (and inferior-tcl (get-buffer inferior-tcl-buffer))] 388 (and inferior-tcl-buffer (get-buffer inferior-tcl-buffer))]
386 ["Restart Tcl process with file" tcl-restart-with-file t] 389 ["Restart Tcl process with file" tcl-restart-with-file t]
387 "----" 390 "----"
388 ["Tcl help" tcl-help-on-word tcl-help-directory-list] 391 ["Tcl help" tcl-help-on-word tcl-help-directory-list]
389 ["Send bug report" tcl-submit-bug-report t]) 392 ["Send bug report" tcl-submit-bug-report t])
390 "Lucid Emacs menu for Tcl mode.") 393 "Lucid Emacs menu for Tcl mode.")