Move variable bindings to the bottom of each file

This commit is contained in:
John Wiegley 2018-01-27 14:07:11 -08:00
parent d21787f1d6
commit c29193bf07
10 changed files with 54 additions and 12 deletions

View file

@ -1,4 +1,4 @@
;;; use-package-bind-key.el --- Support for the :bind/:bind-keymap keywords -*- lexical-binding: t; -*-
;;; use-package-bind-key.el --- Support for the :bind/:bind-keymap keywords
;; Copyright (C) 2012-2017 John Wiegley
@ -166,4 +166,9 @@ 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 -*- lexical-binding: t; -*-
;;; use-package-chords.el --- key-chord keyword for use-package
;; Copyright (C) 2015-2017 Justin Talbott
@ -47,4 +47,9 @@
(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 -*- lexical-binding: t; -*-
;;; use-package-core.el --- A configuration macro for simplifying your .emacs
;; 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,6 +1536,7 @@ 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 -*- lexical-binding: t; -*-
;;; use-package-delight.el --- Support for the :delight keyword
;; Copyright (C) 2012-2017 John Wiegley
@ -88,4 +88,9 @@
(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 -*- lexical-binding: t; -*-
;;; use-package-diminish.el --- Support for the :diminish keyword
;; Copyright (C) 2012-2017 John Wiegley
@ -77,4 +77,9 @@
(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 -*- lexical-binding: t; -*-
;;; use-package-ensure.el --- Support for the :ensure and :pin keywords
;; Copyright (C) 2012-2017 John Wiegley
@ -211,4 +211,9 @@ 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 -*- lexical-binding: t; -*-
;;; use-package-jump.el --- Attempt to jump to a use-package declaration
;; Copyright (C) 2012-2017 John Wiegley
@ -76,4 +76,9 @@ 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 -*- lexical-binding: t; -*-
;;; use-package-lint.el --- Attempt to find errors in use-package declarations
;; Copyright (C) 2012-2017 John Wiegley
@ -81,4 +81,9 @@ 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 -*- lexical-binding: t; -*-
;;; use-package.el --- A configuration macro for simplifying your .emacs
;; Copyright (C) 2012-2017 John Wiegley
@ -51,4 +51,9 @@
(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 -*- lexical-binding: t; -*-
;;; use-package-tests.el --- Tests for use-package.el
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
@ -1885,6 +1885,7 @@
;; Local Variables:
;; indent-tabs-mode: nil
;; lexical-binding: t
;; no-byte-compile: t
;; no-update-autoloads: t
;; End: