changeset 7633:ba9345d99767

Even more compile stuff.
author Tom Tromey <tromey@redhat.com>
date Sun, 22 May 1994 20:18:28 +0000
parents 8abb5c77cc2a
children 6839ecdf2a1c
files lisp/progmodes/tcl.el
diffstat 1 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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 <tromey@busco.lanl.gov>
 ;;    Chris Lindblad <cjl@lcs.mit.edu>
 ;; 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 <tromey@busco.lanl.gov>")
 
 ;;