From 1dddcf4cb7d60bac492883ea03b77bc6c999e0a3 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 27 Sep 2012 00:21:51 -0700 Subject: [PATCH] Remove unnecessary require when compiling sgml-mode.el * lisp/textmodes/sgml-mode.el: Don't require outline when compiling. (outline-regexp, outline-heading-end-regexp, outline-level): Declare. --- lisp/ChangeLog | 3 +++ lisp/textmodes/sgml-mode.el | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 241d69ec1c3..23b7efc606d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2012-09-27 Glenn Morris + * textmodes/sgml-mode.el: Don't require outline when compiling. + (outline-regexp, outline-heading-end-regexp, outline-level): Declare. + * term.el (term-ansi-reset): Try setting term-ansi-face-already-done to nil. (Bug#11785) diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index 67d7f8c01f9..46c65b25b37 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el @@ -34,7 +34,6 @@ (eval-when-compile (require 'skeleton) - (require 'outline) (require 'cl-lib)) (defgroup sgml nil @@ -1938,6 +1937,10 @@ This takes effect when first loading the library.") ("wbr" . "Enable
within ")) "Value of `sgml-tag-help' for HTML mode.") +(defvar outline-regexp) +(defvar outline-heading-end-regexp) +(defvar outline-level) + ;;;###autoload (define-derived-mode html-mode sgml-mode '(sgml-xml-mode "XHTML" "HTML") -- 2.39.2