summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2017-04-19 16:32:04 -0400
committerGlenn Morris <rgm@gnu.org>2017-04-19 16:32:04 -0400
commit992e2019d3c535a61df064de25f664c01b8c309f (patch)
tree9a1c8caead2d9080f942cf8cb51a283cb3344d75 /lisp/emacs-lisp
parent41a5b76f79e2ef12a089e94406159e2d0e1fad1f (diff)
downloademacs-992e2019d3c535a61df064de25f664c01b8c309f.tar.gz
emacs-992e2019d3c535a61df064de25f664c01b8c309f.tar.bz2
emacs-992e2019d3c535a61df064de25f664c01b8c309f.zip
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.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/eieio-core.el1
-rw-r--r--lisp/emacs-lisp/generator.el1
-rw-r--r--lisp/emacs-lisp/subr-x.el1
3 files changed, 0 insertions, 3 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))