Commit cc1783c2 authored by Glenn Morris's avatar Glenn Morris
Browse files

Remove unnecessary require when compiling tcl.el

* lisp/progmodes/tcl.el: Don't require outline when compiling.
(outline-regexp, outline-level): Declare.
parent 1dddcf4c
2012-09-27 Glenn Morris <rgm@gnu.org>
 
* 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.
 
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment