summaryrefslogtreecommitdiff
path: root/lisp/use-package/use-package-bind-key.el
Commit message (Collapse)AuthorAgeFilesLines
* ; Add 2024 to copyright yearsPo Lu2024-01-021-1/+1
|
* Ensure bind-key is its own packageStefan Kangas2023-09-221-0/+1
| | | | | | | | | | | | | | | | | | * lisp/finder.el (finder--builtins-alist): Remove "use-package" directory. * lisp/use-package/bind-key.el: Declare library as part of the 'bind-key' package. * lisp/use-package/use-package-bind-key.el: * lisp/use-package/use-package-core.el: * lisp/use-package/use-package-delight.el: * lisp/use-package/use-package-diminish.el: * lisp/use-package/use-package-ensure-system-package.el: * lisp/use-package/use-package-ensure.el: * lisp/use-package/use-package-jump.el: * lisp/use-package/use-package-lint.el: Declare library as part of the 'use-package' package. (Bug#62751) Do not merge to master.
* ; Add 2023 to copyright years.Eli Zaretskii2023-01-011-1/+1
|
* ; Improve use-package-autoload-keymap docstringStefan Kangas2022-12-091-7/+6
| | | | | * lisp/use-package/use-package-bind-key.el (use-package-autoload-keymap): Improve docstring.
* ; Improve use-package Commentary sectionsStefan Kangas2022-12-091-0/+4
| | | | | | | | | * lisp/use-package/bind-key.el: * lisp/use-package/use-package-bind-key.el: * lisp/use-package/use-package-core.el: * lisp/use-package/use-package-ensure-system-package.el: * lisp/use-package/use-package-ensure.el: * lisp/use-package/use-package.el: Improve Commentary sections.
* ; Normalize GPLv3 license statements in new filesStefan Kangas2022-12-091-3/+5
|
* Delete redundant headersStefan Kangas2022-11-161-6/+0
|
* Normalize GPLv3 license statementsStefan Kangas2022-11-161-11/+9
|
* Revert "Allow multiple keymaps in :map argument"John Wiegley2022-11-151-7/+6
|
* Merge remote-tracking branch 'origin/master' into pr-830John Wiegley2022-11-151-2/+2
|\
| * Various checkdoc fixesStefan Kangas2022-11-141-1/+1
| |
| * Update copyright for submission to ELPAPayas Relekar2022-10-251-1/+1
| | | | | | | | | | - Update year to 2022 - Set copyright to Free Software Foundation, Inc.
* | bind-keys supports passing a list of keymaps as :map argumentJacob First2022-09-291-6/+7
|/
* bind-key-form: allow :continue keyword inside repeat mapHugo Heagren2022-01-281-1/+2
| | | | | | | | | Purely syntactic sugar, using :continue is the same as not using any keyword inside :repeat-map at all. Amend end of function to pass repeat-map value onto next invocation in recursive uses. This allows for the same repeat map to be used for :exit and :continue.
* bind-key-form: allow :exit keyword inside repeat mapHugo Heagren2022-01-281-0/+2
| | | | | | Keys bound inside the scope of :exit are bound inside the repeat map, but do not have their repeat-map property set (so they run a function, but 'exit' the map).
* bind-keys-form: new keyword :repeat-map, for defining repeat mapsHugo Heagren2022-01-281-0/+4
| | | | | | | | | | | | | use-package-normalize/:bind: allow keyword :repeat-map. bind-keys-form: Add keyword :repeat-map. Specifying a symbol as the repeat-map defines a keymap with that name (and with the docstring `repeat-doc', if specified). Symbols for functions bound to keys under the scope of :repeat-map have their 'repeat-map property set to this map. Update docstring (and that of `bind-keys') to reflect changes. Rename `doc' to `prefix-doc' for clarity and consistency with 'repeat-doc'.
* Merge pull request from justbur/autoload-keymapJohn Wiegley2018-07-151-1/+2
|\ | | | | | | Correct prefix keys after use-package-autoload-keymap GitHub-reference: https://github.com/jwiegley/use-package/issues/686
| * Correct prefix keys after use-package-autoload-keymapJustin Burkett2018-06-031-1/+2
| | | | | | | | | | | | | | | | | | | | By adding events of the form (cons t event) to unread-command-events, Emacs correctly updates this-command-keys for the subsequent use of the prefix. Before this change, packages like my which-key were not getting the correct prefix after use-package-autoload-keymap loaded the relevant package. See https://github.com/justbur/emacs-which-key/issues/192
* | Enable lexical bindingAlex Branham2018-06-131-3/+3
|/ | | | This supersedes https://github.com/jwiegley/use-package/issues/617 and closes https://github.com/jwiegley/use-package/issues/648
* Support ":package" in use-packageMatthew Justin Bauer2018-02-251-1/+3
| | | | bind-key supports the keyword ":package" but use-package does not know that. Adding this should be helpful. In the future, maybe we could automatically fill in with the use-package package, but that could be a breaking change.
* Revert "Merge pull request from jabranham/lexical-bindings"John Wiegley2018-01-271-3/+3
| | | | | This reverts commit d21787f1d64a740c0e00899835d9200a0e4690df, reversing changes made to fd8a3510fd1a555b925f57b2870917e3c4ea0206. GitHub-reference: https://github.com/jwiegley/use-package/issues/617
* Revert "Move variable bindings to the bottom of each file"John Wiegley2018-01-271-6/+1
| | | | This reverts commit c29193bf0724633adf7183dad2d0b6faf7d029ab.
* Move variable bindings to the bottom of each fileJohn Wiegley2018-01-271-1/+6
|
* Fix byte compiler warningsAlex Branham2018-01-271-2/+2
|
* Use lexical bindings and remove cl packageAlex Branham2018-01-271-1/+1
|
* Fix a scoping issues with multiple occurrences of :bindJohn Wiegley2017-12-091-2/+5
| | | | Fixes https://github.com/jwiegley/use-package/issues/585
* Remove several unnecessary calls to `ignore'John Wiegley2017-12-071-16/+13
|
* Changes to the way auto-deferral is indicatedJohn Wiegley2017-12-071-11/+14
| | | | | | | | | | | This change adds a new extension hook `use-package-autoloads/<KEYWORD>` for specifying exactly which autoloads a keyword should imply. This is the proper way to indicate autoloads, rather than adding to the `:commands` entry as was done before. Further, autoloading now must occur in order to cause implied deferred loading; if :bind is used with only lambda forms, for example, this will not cause deferred loading without `:defer t`.
* Add missing autoload cookie, and make lack of a normalizer an errorJohn Wiegley2017-12-061-0/+1
| | | | Fixes https://github.com/jwiegley/use-package/issues/566
* Rewrite normalization of :bind and :bind*John Wiegley2017-12-051-10/+37
| | | | Fixes https://github.com/jwiegley/use-package/issues/550
* Avoid using pcase and many other macros in macro-expanded formsJohn Wiegley2017-12-051-6/+5
| | | | This is related to https://github.com/jwiegley/use-package/issues/550
* Add missing autoload cookiesJohn Wiegley2017-12-051-0/+7
| | | | Fixes https://github.com/jwiegley/use-package/issues/555
* Add several missing commentsJohn Wiegley2017-12-041-0/+2
|
* Rename up-* files to use-package-* for consistencyJohn Wiegley2017-12-041-0/+130