comparison lisp/progmodes/tcl.el @ 24953:d000cde7e90a

(tcl-proc-list): Added `body'.
author Tom Tromey <tromey@redhat.com>
date Sun, 18 Jul 1999 05:19:57 +0000
parents a70f2306f60b
children 503bd9d97ac4
comparison
equal deleted inserted replaced
24952:a6db4671c7a0 24953:d000cde7e90a
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.52 $ 9 ;; Version: $Revision: 1.53 $
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: 1998/07/02 17:47:49 $|$Revision: 1.52 $|~/modes/tcl.el.Z| 54 ;; $Date: 1999/03/29 07:35:55 $|$Revision: 1.53 $|~/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.53 1999/03/29 07:35:55 tromey
69 ;; (tcl-using-emacs-19-23): Recognize Emacs 20.
70 ;;
68 ;; Revision 1.52 1998/07/02 17:47:49 tromey 71 ;; Revision 1.52 1998/07/02 17:47:49 tromey
69 ;; Some itcl additions: 72 ;; Some itcl additions:
70 ;; (tcl-typeword-list): Added private, itk_option. 73 ;; (tcl-typeword-list): Added private, itk_option.
71 ;; (tcl-proc-list): Added body, configbody, class. 74 ;; (tcl-proc-list): Added body, configbody, class.
72 ;; 75 ;;
377 (if (and (string-match "19\\." emacs-version) 380 (if (and (string-match "19\\." emacs-version)
378 (not (string-match "XEmacs" emacs-version))) 381 (not (string-match "XEmacs" emacs-version)))
379 (require 'imenu)) 382 (require 'imenu))
380 ())) 383 ()))
381 384
382 (defconst tcl-version "$Revision: 1.52 $") 385 (defconst tcl-version "$Revision: 1.53 $")
383 (defconst tcl-maintainer "Tom Tromey <tromey@drip.colorado.edu>") 386 (defconst tcl-maintainer "Tom Tromey <tromey@drip.colorado.edu>")
384 387
385 ;; 388 ;;
386 ;; User variables. 389 ;; User variables.
387 ;; 390 ;;
660 663
661 (defvar inferior-tcl-mode-hook nil 664 (defvar inferior-tcl-mode-hook nil
662 "Hook for customizing Inferior Tcl mode.") 665 "Hook for customizing Inferior Tcl mode.")
663 666
664 (defvar tcl-proc-list 667 (defvar tcl-proc-list
665 '("proc" "method" "itcl_class" "body" "configbody" "class") 668 '("proc" "method" "itcl_class" "body" "configbody" "class" "body")
666 "List of commands whose first argument defines something. 669 "List of commands whose first argument defines something.
667 This exists because some people (eg, me) use \"defvar\" et al. 670 This exists because some people (eg, me) use \"defvar\" et al.
668 Call `tcl-set-proc-regexp' and `tcl-set-font-lock-keywords' 671 Call `tcl-set-proc-regexp' and `tcl-set-font-lock-keywords'
669 after changing this list.") 672 after changing this list.")
670 673