# HG changeset patch # User Tom Tromey # Date 769637908 0 # Node ID ba9345d99767be86c97ff8f134e0a2596e03e1f1 # Parent 8abb5c77cc2aa0cc8b42082a388f863270b014cc Even more compile stuff. diff -r 8abb5c77cc2a -r ba9345d99767 lisp/progmodes/tcl.el --- a/lisp/progmodes/tcl.el Sun May 22 20:17:29 1994 +0000 +++ b/lisp/progmodes/tcl.el Sun May 22 20:18:28 1994 +0000 @@ -6,7 +6,7 @@ ;; Author: Tom Tromey ;; Chris Lindblad ;; Keywords: languages tcl modes -;; Version: $Revision: 1.12 $ +;; Version: $Revision: 1.13 $ ;; 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: 1994/05/22 20:14:59 $|$Revision: 1.12 $|~/modes/tcl.el.Z| +;; $Date: 1994/05/22 20:17:15 $|$Revision: 1.13 $|~/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.13 1994/05/22 20:17:15 tromey +; Moved emacs version checking code to very beginning. +; ; Revision 1.12 1994/05/22 20:14:59 tromey ; Compile fixes. ; @@ -228,12 +231,12 @@ ;; you have 19.22 or earlier, comment this out, or get imenu. (and (fboundp 'eval-when-compile) (eval-when-compile - (if (and tcl-using-emacs-19 - (not tcl-using-lemacs-19)) + (if (and (string-match "19\\." emacs-version) + (not (string-match "Lucid" emacs-version))) (require 'imenu)) ())) -(defconst tcl-version "$Revision: 1.12 $") +(defconst tcl-version "$Revision: 1.13 $") (defconst tcl-maintainer "Tom Tromey ") ;;