aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Tromey1995-07-17 19:55:25 +0000
committerTom Tromey1995-07-17 19:55:25 +0000
commitc1dc1e4ec5d276e3ab3096bf5db698ec9d62d11a (patch)
treed27200b048a984389daf04906d9e116cc1b07b02
parent6784ada34ff63b175ad604c339fd8af32a58a185 (diff)
downloademacs-c1dc1e4ec5d276e3ab3096bf5db698ec9d62d11a.tar.gz
emacs-c1dc1e4ec5d276e3ab3096bf5db698ec9d62d11a.zip
XEmacs currently must use tcl-internal-end-of-defun
-rw-r--r--lisp/progmodes/tcl.el12
1 files changed, 8 insertions, 4 deletions
diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el
index a30ac3a3d04..7341afa5960 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.40 $ 9;; Version: $Revision: 1.41 $
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/07/11 03:13:15 $|$Revision: 1.40 $|~/modes/tcl.el.Z| 54;; $Date: 1995/07/14 21:54:56 $|$Revision: 1.41 $|~/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,10 @@
65 65
66;; Change log: 66;; Change log:
67;; $Log: tcl.el,v $ 67;; $Log: tcl.el,v $
68;; Revision 1.41 1995/07/14 21:54:56 tromey
69;; Changes to make menus work in XEmacs.
70;; From Mike Scheidler <c23mts@kocrsv01.delcoelect.com>
71;;
68;; Revision 1.40 1995/07/11 03:13:15 tromey 72;; Revision 1.40 1995/07/11 03:13:15 tromey
69;; (tcl-mode): Customize for new dabbrev. 73;; (tcl-mode): Customize for new dabbrev.
70;; 74;;
@@ -332,7 +336,7 @@
332 (require 'imenu)) 336 (require 'imenu))
333 ())) 337 ()))
334 338
335(defconst tcl-version "$Revision: 1.40 $") 339(defconst tcl-version "$Revision: 1.41 $")
336(defconst tcl-maintainer "Tom Tromey <tromey@drip.colorado.edu>") 340(defconst tcl-maintainer "Tom Tromey <tromey@drip.colorado.edu>")
337 341
338;; 342;;
@@ -782,7 +786,7 @@ An end of a defun is found by moving forward from the beginning of one."
782 786
783;; Ditto end-of-defun. 787;; Ditto end-of-defun.
784(fset 'tcl-end-of-defun 788(fset 'tcl-end-of-defun
785 (if tcl-using-emacs-19 789 (if (and tcl-using-emacs-19 (not tcl-using-xemacs-19))
786 'end-of-defun 790 'end-of-defun
787 'tcl-internal-end-of-defun)) 791 'tcl-internal-end-of-defun))
788 792