From 1b2547de23ef6bcab9ec791878178f5ade99bd19 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 2 Dec 2020 15:43:26 +0100 Subject: [PATCH] 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. --- lisp/htmlfontify.el | 2 -- lisp/term/ns-win.el | 1 - lisp/term/w32-win.el | 1 - lisp/term/x-win.el | 1 - test/lisp/faces-tests.el | 1 - 5 files changed, 6 deletions(-) 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) -- 2.39.5