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:
parent
1dddcf4cb7
commit
cc1783c2d8
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user