diff options
author | Glenn Morris <rgm@gnu.org> | 2017-04-19 16:32:04 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2017-04-19 16:32:04 -0400 |
commit | 992e2019d3c535a61df064de25f664c01b8c309f (patch) | |
tree | 9a1c8caead2d9080f942cf8cb51a283cb3344d75 | |
parent | 41a5b76f79e2ef12a089e94406159e2d0e1fad1f (diff) | |
download | emacs-992e2019d3c535a61df064de25f664c01b8c309f.tar.gz |
Remove some explicit runtime loads of pcase
Pcase is macros, so these should have used eval-when-compile.
Anyway, pcase entry points are autoloaded, so the compiler handles it.
* lisp/profiler.el, lisp/emacs-lisp/eieio-core.el:
* lisp/emacs-lisp/generator.el, lisp/emacs-lisp/subr-x.el:
* lisp/progmodes/xref.el: No need to require pcase.
-rw-r--r-- | lisp/emacs-lisp/eieio-core.el | 1 | ||||
-rw-r--r-- | lisp/emacs-lisp/generator.el | 1 | ||||
-rw-r--r-- | lisp/emacs-lisp/subr-x.el | 1 | ||||
-rw-r--r-- | lisp/profiler.el | 1 | ||||
-rw-r--r-- | lisp/progmodes/xref.el | 1 |
5 files changed, 0 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/eieio-core.el b/lisp/emacs-lisp/eieio-core.el index 7c149421d43..dfe1c06bfaf 100644 --- a/lisp/emacs-lisp/eieio-core.el +++ b/lisp/emacs-lisp/eieio-core.el @@ -32,7 +32,6 @@ ;;; Code: (require 'cl-lib) -(require 'pcase) (require 'eieio-loaddefs nil t) ;;; diff --git a/lisp/emacs-lisp/generator.el b/lisp/emacs-lisp/generator.el index 2ab01404bad..c96b400809b 100644 --- a/lisp/emacs-lisp/generator.el +++ b/lisp/emacs-lisp/generator.el @@ -77,7 +77,6 @@ ;;; Code: (require 'cl-lib) -(require 'pcase) (defvar cps--bindings nil) (defvar cps--states nil) diff --git a/lisp/emacs-lisp/subr-x.el b/lisp/emacs-lisp/subr-x.el index c0e5ae5984a..440213eb38a 100644 --- a/lisp/emacs-lisp/subr-x.el +++ b/lisp/emacs-lisp/subr-x.el @@ -35,7 +35,6 @@ ;;; Code: -(require 'pcase) (eval-when-compile (require 'cl-lib)) diff --git a/lisp/profiler.el b/lisp/profiler.el index 8af2c50a4d4..15ff9b68ab9 100644 --- a/lisp/profiler.el +++ b/lisp/profiler.el @@ -27,7 +27,6 @@ ;;; Code: (require 'cl-lib) -(require 'pcase) (defgroup profiler nil "Emacs profiler." diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index 1ca3e1d1539..d0636ba6355 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -69,7 +69,6 @@ (require 'cl-lib) (require 'eieio) (require 'ring) -(require 'pcase) (require 'project) (eval-when-compile |