diff options
| author | Glenn Morris | 2012-09-27 00:21:51 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-09-27 00:21:51 -0700 |
| commit | 1dddcf4cb7d60bac492883ea03b77bc6c999e0a3 (patch) | |
| tree | c9b6171d64743308c464ba3eb8b5908f4cda0ed7 /lisp/textmodes | |
| parent | 48c339f259bca28c83aef763f11ba380ef86a07a (diff) | |
| download | emacs-1dddcf4cb7d60bac492883ea03b77bc6c999e0a3.tar.gz emacs-1dddcf4cb7d60bac492883ea03b77bc6c999e0a3.zip | |
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.
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/sgml-mode.el | 5 |
1 files changed, 4 insertions, 1 deletions
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 @@ | |||
| 34 | 34 | ||
| 35 | (eval-when-compile | 35 | (eval-when-compile |
| 36 | (require 'skeleton) | 36 | (require 'skeleton) |
| 37 | (require 'outline) | ||
| 38 | (require 'cl-lib)) | 37 | (require 'cl-lib)) |
| 39 | 38 | ||
| 40 | (defgroup sgml nil | 39 | (defgroup sgml nil |
| @@ -1938,6 +1937,10 @@ This takes effect when first loading the library.") | |||
| 1938 | ("wbr" . "Enable <br> within <nobr>")) | 1937 | ("wbr" . "Enable <br> within <nobr>")) |
| 1939 | "Value of `sgml-tag-help' for HTML mode.") | 1938 | "Value of `sgml-tag-help' for HTML mode.") |
| 1940 | 1939 | ||
| 1940 | (defvar outline-regexp) | ||
| 1941 | (defvar outline-heading-end-regexp) | ||
| 1942 | (defvar outline-level) | ||
| 1943 | |||
| 1941 | 1944 | ||
| 1942 | ;;;###autoload | 1945 | ;;;###autoload |
| 1943 | (define-derived-mode html-mode sgml-mode '(sgml-xml-mode "XHTML" "HTML") | 1946 | (define-derived-mode html-mode sgml-mode '(sgml-xml-mode "XHTML" "HTML") |