Revert "Move variable bindings to the bottom of each file"

This reverts commit c29193bf07.
This commit is contained in:
John Wiegley 2018-01-27 14:09:10 -08:00
parent c29193bf07
commit 566a2ea3a1
10 changed files with 12 additions and 54 deletions

View file

@ -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
@ -166,9 +166,4 @@ deferred until the prefix key sequence is pressed."
(provide 'use-package-bind-key)
;; Local Variables:
;; indent-tabs-mode: nil
;; lexical-binding: t
;; End:
;;; use-package-bind-key.el ends here

View file

@ -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
@ -47,9 +47,4 @@
(provide 'use-package-chords)
;; Local Variables:
;; indent-tabs-mode: nil
;; lexical-binding: t
;; End:
;;; use-package-chords.el ends here

View file

@ -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
@ -550,7 +550,7 @@ extending any keys already present."
(nreverse
(sort plist-grouped
#'(lambda (l r) (< (use-package-keyword-index (car l))
(use-package-keyword-index (car r)))))))
(use-package-keyword-index (car r)))))))
(setq result (cons (car x) (cons (cdr x) result))))
result)))
@ -754,7 +754,7 @@ no more than once."
`((defvar ,loaded nil)
(defvar ,result nil)
(defvar ,next #'(lambda () (if ,loaded ,result
(setq ,loaded t ,result ,arg))))
(setq ,loaded t ,result ,arg))))
,@(funcall f `((funcall ,next))))))
(defsubst use-package-normalize-value (_label arg)
@ -1536,7 +1536,6 @@ this file. Usage:
;; Local Variables:
;; indent-tabs-mode: nil
;; lexical-binding: t
;; End:
;;; use-package-core.el ends here

View file

@ -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
@ -88,9 +88,4 @@
(provide 'use-package-delight)
;; Local Variables:
;; indent-tabs-mode: nil
;; lexical-binding: t
;; End:
;;; use-package-delight.el ends here

View file

@ -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
@ -77,9 +77,4 @@
(provide 'use-package-diminish)
;; Local Variables:
;; indent-tabs-mode: nil
;; lexical-binding: t
;; End:
;;; use-package-diminish.el ends here

View file

@ -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
@ -211,9 +211,4 @@ manually updated package."
(provide 'use-package-ensure)
;; Local Variables:
;; indent-tabs-mode: nil
;; lexical-binding: t
;; End:
;;; use-package-ensure.el ends here

View file

@ -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
@ -76,9 +76,4 @@ instead."
(provide 'use-package-jump)
;; Local Variables:
;; indent-tabs-mode: nil
;; lexical-binding: t
;; End:
;;; use-package-jump.el ends here

View file

@ -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
@ -81,9 +81,4 @@ with the specified `:load-path' the module cannot be found."
(provide 'use-package-lint)
;; Local Variables:
;; indent-tabs-mode: nil
;; lexical-binding: t
;; End:
;;; use-package-lint.el ends here

View file

@ -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
@ -51,9 +51,4 @@
(provide 'use-package)
;; Local Variables:
;; indent-tabs-mode: nil
;; lexical-binding: t
;; End:
;;; use-package.el ends here

View file

@ -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
@ -1885,7 +1885,6 @@
;; Local Variables:
;; indent-tabs-mode: nil
;; lexical-binding: t
;; no-byte-compile: t
;; no-update-autoloads: t
;; End: