1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00

Remove unnecessary require when compiling tcl.el

* lisp/progmodes/tcl.el: Don't require outline when compiling.
(outline-regexp, outline-level): Declare.
This commit is contained in:
Glenn Morris 2012-09-27 00:23:10 -07:00
parent 1dddcf4cb7
commit cc1783c2d8
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,7 @@
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.

View File

@ -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.