From cc1783c2d8f104d79a4677795554a440c6f07a4a Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 27 Sep 2012 00:23:10 -0700 Subject: [PATCH] Remove unnecessary require when compiling tcl.el * lisp/progmodes/tcl.el: Don't require outline when compiling. (outline-regexp, outline-level): Declare. --- lisp/ChangeLog | 2 ++ lisp/progmodes/tcl.el | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 23b7efc606d..499d9f7b330 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2012-09-27 Glenn Morris + * progmodes/tcl.el: Don't require outline when compiling. + (outline-regexp, outline-level): Declare. * textmodes/sgml-mode.el: Don't require outline when compiling. (outline-regexp, outline-heading-end-regexp, outline-level): Declare. diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el index f1ab01fd07f..c82566ca5b6 100644 --- a/lisp/progmodes/tcl.el +++ b/lisp/progmodes/tcl.el @@ -104,7 +104,6 @@ (eval-when-compile (require 'imenu) - (require 'outline) (require 'dabbrev) (require 'add-log)) @@ -544,6 +543,9 @@ Uses variables `tcl-proc-regexp' and `tcl-keyword-list'." ;; The mode itself. ;; +(defvar outline-regexp) +(defvar outline-level) + ;;;###autoload (define-derived-mode tcl-mode prog-mode "Tcl" "Major mode for editing Tcl code. -- 2.39.2