From: Stefan Kangas Date: Wed, 2 Dec 2020 14:43:26 +0000 (+0100) Subject: Remove redundant requires of faces X-Git-Tag: emacs-28.0.90~4957 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1b2547de23ef6bcab9ec791878178f5ade99bd19;p=emacs.git Remove redundant requires of faces * lisp/htmlfontify.el: * lisp/term/ns-win.el: * lisp/term/w32-win.el: * lisp/term/x-win.el: * test/lisp/faces-tests.el: Don't require 'faces'; it is preloaded since version 19.34. --- diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el index fcd4df037a5..6a2ed3aee92 100644 --- a/lisp/htmlfontify.el +++ b/lisp/htmlfontify.el @@ -78,8 +78,6 @@ ;;; Code: (eval-when-compile (require 'cl-lib)) -(require 'faces) -;; (`facep' `face-attr-construct' `x-color-values' `color-values' `face-name') (require 'custom) ;; (`defgroup' `defcustom') (require 'font-lock) diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el index 8273c067f8b..99cead99237 100644 --- a/lisp/term/ns-win.el +++ b/lisp/term/ns-win.el @@ -47,7 +47,6 @@ ;; Documentation-purposes only: actually loaded in loadup.el. (require 'frame) (require 'mouse) -(require 'faces) (require 'menu-bar) (require 'fontset) (require 'dnd) diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el index 7a15537186d..824848dd55b 100644 --- a/lisp/term/w32-win.el +++ b/lisp/term/w32-win.el @@ -72,7 +72,6 @@ (require 'frame) (require 'mouse) (require 'scroll-bar) -(require 'faces) (require 'select) (require 'menu-bar) (require 'dnd) diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index 42a6f4030e5..6069272604c 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -75,7 +75,6 @@ (require 'frame) (require 'mouse) (require 'scroll-bar) -(require 'faces) (require 'select) (require 'menu-bar) (require 'fontset) diff --git a/test/lisp/faces-tests.el b/test/lisp/faces-tests.el index b19cef5decd..bdd18a5ac58 100644 --- a/test/lisp/faces-tests.el +++ b/test/lisp/faces-tests.el @@ -24,7 +24,6 @@ (require 'ert) (require 'ert-x) -(require 'faces) (defgroup faces--test nil "" :group 'faces--test)