From: Alex Branham Date: Sat, 27 Jan 2018 15:56:15 +0000 (-0600) Subject: Use lexical bindings and remove cl package X-Git-Tag: emacs-29.0.90~1306^2~15^2~85^2~3 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=88bcb8b96d;p=emacs.git Use lexical bindings and remove cl package --- diff --git a/lisp/use-package/use-package-bind-key.el b/lisp/use-package/use-package-bind-key.el index d8fe56dfaa5..638aec45d7b 100644 --- a/lisp/use-package/use-package-bind-key.el +++ b/lisp/use-package/use-package-bind-key.el @@ -1,4 +1,4 @@ -;;; use-package-bind-key.el --- Support for the :bind/:bind-keymap keywords +;;; use-package-bind-key.el --- Support for the :bind/:bind-keymap keywords -*- lexical-binding: t; -*- ;; Copyright (C) 2012-2017 John Wiegley diff --git a/lisp/use-package/use-package-chords.el b/lisp/use-package/use-package-chords.el index 63a9737109f..936ff228999 100644 --- a/lisp/use-package/use-package-chords.el +++ b/lisp/use-package/use-package-chords.el @@ -1,4 +1,4 @@ -;;; use-package-chords.el --- key-chord keyword for use-package +;;; use-package-chords.el --- key-chord keyword for use-package -*- lexical-binding: t; -*- ;; Copyright (C) 2015-2017 Justin Talbott diff --git a/lisp/use-package/use-package-core.el b/lisp/use-package/use-package-core.el index 469b3f7b23c..198246eb3ee 100644 --- a/lisp/use-package/use-package-core.el +++ b/lisp/use-package/use-package-core.el @@ -1,4 +1,4 @@ -;;; use-package-core.el --- A configuration macro for simplifying your .emacs +;;; use-package-core.el --- A configuration macro for simplifying your .emacs -*- lexical-binding: t; -*- ;; Copyright (C) 2012-2017 John Wiegley @@ -43,7 +43,6 @@ (require 'cl-lib) (eval-when-compile - (require 'cl) (require 'regexp-opt)) (defgroup use-package nil diff --git a/lisp/use-package/use-package-delight.el b/lisp/use-package/use-package-delight.el index 9d4f6acf2de..4207993f811 100644 --- a/lisp/use-package/use-package-delight.el +++ b/lisp/use-package/use-package-delight.el @@ -1,4 +1,4 @@ -;;; use-package-delight.el --- Support for the :delight keyword +;;; use-package-delight.el --- Support for the :delight keyword -*- lexical-binding: t; -*- ;; Copyright (C) 2012-2017 John Wiegley diff --git a/lisp/use-package/use-package-diminish.el b/lisp/use-package/use-package-diminish.el index c2da62257e6..4ff2b3505f6 100644 --- a/lisp/use-package/use-package-diminish.el +++ b/lisp/use-package/use-package-diminish.el @@ -1,4 +1,4 @@ -;;; use-package-diminish.el --- Support for the :diminish keyword +;;; use-package-diminish.el --- Support for the :diminish keyword -*- lexical-binding: t; -*- ;; Copyright (C) 2012-2017 John Wiegley diff --git a/lisp/use-package/use-package-ensure.el b/lisp/use-package/use-package-ensure.el index 1a76b883e1c..257e542d0af 100644 --- a/lisp/use-package/use-package-ensure.el +++ b/lisp/use-package/use-package-ensure.el @@ -1,4 +1,4 @@ -;;; use-package-ensure.el --- Support for the :ensure and :pin keywords +;;; use-package-ensure.el --- Support for the :ensure and :pin keywords -*- lexical-binding: t; -*- ;; Copyright (C) 2012-2017 John Wiegley diff --git a/lisp/use-package/use-package-jump.el b/lisp/use-package/use-package-jump.el index 31d1b054060..4044ad16564 100644 --- a/lisp/use-package/use-package-jump.el +++ b/lisp/use-package/use-package-jump.el @@ -1,4 +1,4 @@ -;;; use-package-jump.el --- Attempt to jump to a use-package declaration +;;; use-package-jump.el --- Attempt to jump to a use-package declaration -*- lexical-binding: t; -*- ;; Copyright (C) 2012-2017 John Wiegley diff --git a/lisp/use-package/use-package-lint.el b/lisp/use-package/use-package-lint.el index 53c682842f9..c6e7c3c0ce2 100644 --- a/lisp/use-package/use-package-lint.el +++ b/lisp/use-package/use-package-lint.el @@ -1,4 +1,4 @@ -;;; use-package-lint.el --- Attempt to find errors in use-package declarations +;;; use-package-lint.el --- Attempt to find errors in use-package declarations -*- lexical-binding: t; -*- ;; Copyright (C) 2012-2017 John Wiegley diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index 5f98db1bed7..1a8fff895f6 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -1,4 +1,4 @@ -;;; use-package.el --- A configuration macro for simplifying your .emacs +;;; use-package.el --- A configuration macro for simplifying your .emacs -*- lexical-binding: t; -*- ;; Copyright (C) 2012-2017 John Wiegley diff --git a/test/lisp/use-package/use-package-tests.el b/test/lisp/use-package/use-package-tests.el index fc86fa63f81..be017850cc2 100644 --- a/test/lisp/use-package/use-package-tests.el +++ b/test/lisp/use-package/use-package-tests.el @@ -1,4 +1,4 @@ -;;; use-package-tests.el --- Tests for use-package.el +;;; use-package-tests.el --- Tests for use-package.el -*- lexical-binding: t; -*- ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as @@ -22,7 +22,6 @@ ;;; Code: -(require 'cl) (require 'ert) (require 'use-package)