1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00

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.
This commit is contained in:
Glenn Morris 2017-04-19 16:32:04 -04:00
parent 41a5b76f79
commit 992e2019d3
5 changed files with 0 additions and 5 deletions

View File

@ -32,7 +32,6 @@
;;; Code:
(require 'cl-lib)
(require 'pcase)
(require 'eieio-loaddefs nil t)
;;;

View File

@ -77,7 +77,6 @@
;;; Code:
(require 'cl-lib)
(require 'pcase)
(defvar cps--bindings nil)
(defvar cps--states nil)

View File

@ -35,7 +35,6 @@
;;; Code:
(require 'pcase)
(eval-when-compile (require 'cl-lib))

View File

@ -27,7 +27,6 @@
;;; Code:
(require 'cl-lib)
(require 'pcase)
(defgroup profiler nil
"Emacs profiler."

View File

@ -69,7 +69,6 @@
(require 'cl-lib)
(require 'eieio)
(require 'ring)
(require 'pcase)
(require 'project)
(eval-when-compile