summaryrefslogtreecommitdiff
path: root/lisp/progmodes/tcl.el
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1995-07-17 19:59:49 +0000
committerTom Tromey <tromey@redhat.com>1995-07-17 19:59:49 +0000
commit9bad6296adff64ce90a812916a177203801a3ee7 (patch)
tree05d88e2759d8166e6bcfb3c502f197912ff7c476 /lisp/progmodes/tcl.el
parentc1dc1e4ec5d276e3ab3096bf5db698ec9d62d11a (diff)
downloademacs-9bad6296adff64ce90a812916a177203801a3ee7.tar.gz
(inferior-tcl-mode): Use modeline-process if it exists.
Diffstat (limited to 'lisp/progmodes/tcl.el')
-rw-r--r--lisp/progmodes/tcl.el13
1 files changed, 9 insertions, 4 deletions
diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el
index 7341afa5960..98cd1f5e306 100644
--- a/lisp/progmodes/tcl.el
+++ b/lisp/progmodes/tcl.el
@@ -6,7 +6,7 @@
;; Author: Tom Tromey <tromey@busco.lanl.gov>
;; Chris Lindblad <cjl@lcs.mit.edu>
;; Keywords: languages tcl modes
-;; Version: $Revision: 1.41 $
+;; Version: $Revision: 1.42 $
;; 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/07/14 21:54:56 $|$Revision: 1.41 $|~/modes/tcl.el.Z|
+;; $Date: 1995/07/17 19:55:25 $|$Revision: 1.42 $|~/modes/tcl.el.Z|
;; CUSTOMIZATION NOTES:
;; * tcl-proc-list can be used to customize a list of things that
@@ -65,6 +65,9 @@
;; Change log:
;; $Log: tcl.el,v $
+;; Revision 1.42 1995/07/17 19:55:25 tromey
+;; XEmacs currently must use tcl-internal-end-of-defun
+;;
;; Revision 1.41 1995/07/14 21:54:56 tromey
;; Changes to make menus work in XEmacs.
;; From Mike Scheidler <c23mts@kocrsv01.delcoelect.com>
@@ -336,7 +339,7 @@
(require 'imenu))
()))
-(defconst tcl-version "$Revision: 1.41 $")
+(defconst tcl-version "$Revision: 1.42 $")
(defconst tcl-maintainer "Tom Tromey <tromey@drip.colorado.edu>")
;;
@@ -1548,7 +1551,9 @@ The following commands are available:
">")))
(setq major-mode 'inferior-tcl-mode)
(setq mode-name "Inferior Tcl")
- (setq mode-line-process '(": %s"))
+ (if (boundp 'modeline-process)
+ (setq modeline-process '(": %s")) ; For XEmacs.
+ (setq mode-line-process '(": %s")))
(use-local-map inferior-tcl-mode-map)
(setq local-abbrev-table tcl-mode-abbrev-table)
(set-syntax-table tcl-mode-syntax-table)