[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 4594d6f: Remove redundant requires of 'custom'
From: |
Stefan Kangas |
Subject: |
master 4594d6f: Remove redundant requires of 'custom' |
Date: |
Thu, 3 Dec 2020 03:51:12 -0500 (EST) |
branch: master
commit 4594d6f59a0f0c229ded9874a38ae5acf9fe5647
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
Remove redundant requires of 'custom'
* lisp/emacs-lisp/eieio-custom.el:
* lisp/htmlfontify.el:
* lisp/mwheel.el:
* lisp/net/eudc-vars.el:
* lisp/net/ldap.el:
* lisp/net/tramp-ftp.el:
* lisp/net/tramp-gvfs.el:
* lisp/progmodes/cwarn.el:
* lisp/progmodes/sql.el:
* lisp/savehist.el:
* lisp/textmodes/reftex.el:
* lisp/wid-browse.el: Don't require 'custom'; it is preloaded since
version 20.1.
---
lisp/emacs-lisp/eieio-custom.el | 1 -
lisp/htmlfontify.el | 2 --
lisp/mwheel.el | 1 -
lisp/net/eudc-vars.el | 2 --
lisp/net/ldap.el | 1 -
lisp/net/tramp-ftp.el | 1 -
lisp/net/tramp-gvfs.el | 2 --
lisp/progmodes/cwarn.el | 1 -
lisp/progmodes/sql.el | 1 -
lisp/savehist.el | 2 --
lisp/textmodes/reftex.el | 4 ----
lisp/wid-browse.el | 1 -
12 files changed, 19 deletions(-)
diff --git a/lisp/emacs-lisp/eieio-custom.el b/lisp/emacs-lisp/eieio-custom.el
index e26dc9e..3a9d867 100644
--- a/lisp/emacs-lisp/eieio-custom.el
+++ b/lisp/emacs-lisp/eieio-custom.el
@@ -33,7 +33,6 @@
(require 'eieio)
(require 'widget)
(require 'wid-edit)
-(require 'custom)
;;; Compatibility
diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el
index 4977e08..c9ede65 100644
--- a/lisp/htmlfontify.el
+++ b/lisp/htmlfontify.el
@@ -78,8 +78,6 @@
;;; Code:
(eval-when-compile (require 'cl-lib))
-(require 'custom)
-;; (`defgroup' `defcustom')
(require 'cus-edit)
(require 'htmlfontify-loaddefs)
diff --git a/lisp/mwheel.el b/lisp/mwheel.el
index 1d9fe68..9fd050f 100644
--- a/lisp/mwheel.el
+++ b/lisp/mwheel.el
@@ -37,7 +37,6 @@
;; 'mwheel-down', but I cannot find a way to do this very easily (or
;; portably), so for now I just live with it.
-(require 'custom)
(require 'timer)
(defvar mouse-wheel-mode)
diff --git a/lisp/net/eudc-vars.el b/lisp/net/eudc-vars.el
index bb1474b..2306d7b 100644
--- a/lisp/net/eudc-vars.el
+++ b/lisp/net/eudc-vars.el
@@ -27,8 +27,6 @@
;;; Code:
-(require 'custom)
-
;;{{{ EUDC Main Custom Group
(defgroup eudc nil
diff --git a/lisp/net/ldap.el b/lisp/net/ldap.el
index 5639d52..0016af2 100644
--- a/lisp/net/ldap.el
+++ b/lisp/net/ldap.el
@@ -33,7 +33,6 @@
;;; Code:
-(require 'custom)
(require 'password-cache)
(autoload 'auth-source-search "auth-source")
diff --git a/lisp/net/tramp-ftp.el b/lisp/net/tramp-ftp.el
index 996a924..329a490 100644
--- a/lisp/net/tramp-ftp.el
+++ b/lisp/net/tramp-ftp.el
@@ -31,7 +31,6 @@
(require 'tramp)
;; Pacify byte-compiler.
-(eval-when-compile (require 'custom))
(defvar ange-ftp-ftp-name-arg)
(defvar ange-ftp-ftp-name-res)
(defvar ange-ftp-name-format)
diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el
index 7970488..f3d03d0 100644
--- a/lisp/net/tramp-gvfs.el
+++ b/lisp/net/tramp-gvfs.el
@@ -108,8 +108,6 @@
(require 'url-util)
;; Pacify byte-compiler.
-(eval-when-compile (require 'custom))
-
(declare-function zeroconf-init "zeroconf")
(declare-function zeroconf-list-service-types "zeroconf")
(declare-function zeroconf-list-services "zeroconf")
diff --git a/lisp/progmodes/cwarn.el b/lisp/progmodes/cwarn.el
index 0571739..b09a2ed 100644
--- a/lisp/progmodes/cwarn.el
+++ b/lisp/progmodes/cwarn.el
@@ -104,7 +104,6 @@
;;{{{ Dependencies
-(require 'custom)
(require 'cc-mode)
;;}}}
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index 2209939..0bf9a51 100644
--- a/lisp/progmodes/sql.el
+++ b/lisp/progmodes/sql.el
@@ -232,7 +232,6 @@
(require 'cl-lib)
(require 'comint)
-(require 'custom)
(require 'thingatpt)
(require 'view)
(eval-when-compile (require 'subr-x)) ; string-empty-p
diff --git a/lisp/savehist.el b/lisp/savehist.el
index 5d20239..8931e83 100644
--- a/lisp/savehist.el
+++ b/lisp/savehist.el
@@ -47,8 +47,6 @@
;;; Code:
-(require 'custom)
-
;; User variables
(defgroup savehist nil
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el
index 29ebab5..b1fa79a 100644
--- a/lisp/textmodes/reftex.el
+++ b/lisp/textmodes/reftex.el
@@ -51,10 +51,6 @@
;;; Code:
(eval-when-compile (require 'cl-lib))
-
-;; Stuff that needs to be there when we use defcustom
-(require 'custom)
-
(require 'easymenu)
(defvar reftex-tables-dirty t
diff --git a/lisp/wid-browse.el b/lisp/wid-browse.el
index f5c3d48..bc2e3c4 100644
--- a/lisp/wid-browse.el
+++ b/lisp/wid-browse.el
@@ -28,7 +28,6 @@
;;; Code:
(require 'easymenu)
-(require 'custom)
(require 'wid-edit)
(defgroup widget-browse nil
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 4594d6f: Remove redundant requires of 'custom',
Stefan Kangas <=