summaryrefslogtreecommitdiff
path: root/lisp/use-package/bind-key.el
Commit message (Collapse)AuthorAgeFilesLines
* Merge from origin/emacs-29Eli Zaretskii2023-01-011-1/+1
|\ | | | | | | | | | | | | | | | | | | | | cae528457c ; Add 2023 to copyright years. b394359261 Improve documentation of 'isearch-open-overlay-temporary' ab3210e709 Document 'use-package' in the 2 main manuals # Conflicts: # etc/refcards/ru-refcard.tex # lib/explicit_bzero.c # m4/explicit_bzero.m4
| * ; Add 2023 to copyright years.Eli Zaretskii2023-01-011-1/+1
| |
* | Merge from origin/emacs-29Stefan Kangas2022-12-121-3/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 06ef030f936 use-package.texi: New section "Manual installation" f4ce6fa7d3e Revert "Revert "Improve last change to xfaces.c" (05ece1e... b8d2ec920f3 Revert "Improve last change to xfaces.c" (05ece1eb8b) 24c8c28ae61 Do not pare arguments unnecessarily. 9c0d7bb73bb Add automated tests for Eglot d3669cfe156 Eglot: allow skipping compile-time warnings about LSP int... 04b7e01885d ; project.el: Bump version. f2876014adb Add customizale faces for tree-sitter explorer 3e349ee1198 Fix error message when installing non-existent package 733cdeabfb9 Don't use diff-mode buffer as a patch when it's visiting ... 87475f4af21 Fix pcase rx patterns using rx-let bindings (bug#59814) 4893a156317 Fix use-package-defaults defcustom type (bug#59941) 074b7e6f4d1 ; * lisp/use-package/bind-key.el: Remove ineffective back... 864ed9dfa1f ; * lisp/progmodes/dockerfile-ts-mode.el: use \' instead ... 9f7e5584a4f * lisp/language/indian.el: Improve Brahmi composition rul... 78ad33bb05f ; Minor cleanup of last change in xfaces.c. 2024ade271d ; Improve docs of relaxing face-font attribute match (bug...
| * ; * lisp/use-package/bind-key.el: Remove ineffective backslashes.Mattias Engdegård2022-12-111-3/+3
| |
* | Merge from origin/emacs-29Po Lu2022-12-111-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5fbd12ff494 Adapt manual names in emacs-news-mode b36bc692671 ; * etc/NEWS: Fix typos. f626b9f3856 ; * doc/misc/use-package.texi: Fix indexing. 56a6712bd6f ; * lisp/erc/erc.el (erc-default-target): Fix comment. dcf69a1da4a Respect some spaces in auth-source-pass--match-regexp acd462b0306 ; Improve the use-package manual 801c1c22de8 ; Prefer HTTPS to HTTP in some URLs 74a009dd96a Eglot: Handle LSP progress with Emacs progress reporters ... 0cfeb1c2bc9 Eglot: cleanup whitespace and indentation 465a9e78b96 Better test-custom-opts diagnostics bdbb7099784 ; Fix groff warnings in man pages d3d9676bf88 New script admin/check-man-pages c2aea9d1323 ; Mention flush-lines in kill-matching-lines docstring f5c3585e4dd ; Fix typos 58a483960dd ; Improve use-package-autoload-keymap docstring # Conflicts: # etc/NEWS
| * ; Fix typosStefan Kangas2022-12-091-2/+2
| |
* | Merge from origin/emacs-29Po Lu2022-12-091-10/+12
|\ \ | |/ | | | | | | | | | | | | 67ef92fb0e9 Revert "; * src/emacs.c (main): Improvements to last chan... 6ccdda3df2e server-eval-at: Don't call server--file-name 90895773293 ; Improve use-package Commentary sections 15dda8cd5b3 ; Don't say to require bind-key in use-package manual 26267040549 ; Normalize GPLv3 license statements in new files
| * ; Improve use-package Commentary sectionsStefan Kangas2022-12-091-7/+7
| | | | | | | | | | | | | | | | | | * 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
| |
* | Fix namespacing issues in bind-key.elStefan Kangas2022-12-081-7/+12
|/ | | | | | | * lisp/use-package/bind-key.el (get-binding-description) (compare-keybindings): Rename from this... (bind-key--get-binding-description) (bind-key--compare-keybindings): ...to this.
* ; Minor doc fixes in bind-key.elStefan Kangas2022-12-081-5/+4
| | | | | * lisp/use-package/bind-key.el (bind-key-segregation-regexp) (bind-key): Minor doc fixes.
* Update use-package defgroupsStefan Kangas2022-12-081-1/+4
| | | | | | | * lisp/use-package/bind-key.el (bind-key): * lisp/use-package/use-package-core.el (use-package): * lisp/use-package/use-package-ensure.el (use-package-ensure): Add :link, :version and :group to defgroups.
* Improve bind-keys* and override-global-mode docstringsStefan Kangas2022-12-081-1/+17
| | | | | * lisp/use-package/bind-key.el (bind-keys*): Add docstring. (override-global-mode) Improve docstring.
* Add package keyword from finder-known-keywordsStefan Kangas2022-11-171-1/+1
|
* Fix Package-Requires for bind-{chord,key}.elStefan Kangas2022-11-171-2/+2
|
* Merge pull request from skangas/dir-localsJohn Wiegley2022-11-161-1/+0
|\ | | | | GitHub-reference: https://github.com/jwiegley/use-package/issues/1023
| * Add .dir-locals.elStefan Kangas2022-11-161-1/+0
| |
* | Delete redundant headersStefan Kangas2022-11-161-1/+0
| |
* | Normalize GPLv3 license statementsStefan Kangas2022-11-161-15/+13
|/
* Revert "Allow multiple keymaps in :map argument"John Wiegley2022-11-151-62/+47
|
* Merge remote-tracking branch 'origin/master' into pr-830John Wiegley2022-11-151-12/+12
|\
| * Merge pull request from skangas/checkdocJohn Wiegley2022-11-141-4/+4
| |\ | | | | | | GitHub-reference: https://github.com/jwiegley/use-package/issues/1015
| | * Various checkdoc fixesStefan Kangas2022-11-141-4/+4
| | |
| * | Fix tests on Emacs 26 or olderStefan Kangas2022-11-131-6/+6
| |/ | | | | | | | | | | | | This fixes the following error in Emacs 25.3: In toplevel form: bind-key.el:549:1:Error: the function ‘mapcan’ is not known to be defined.
| * bind-key.el: Bump version for ELPAPayas Relekar2022-10-281-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-47/+62
|/
* Fix emacs native compilation warning for bind-keyCodruț Constantin Gușoi2022-09-101-2/+2
| | | | | | | | | | | | To reproduce, have emacs built with native compilation and notice the compilation logs. You can then open the offending file and run `M-x emacs-lisp-native-compile-and-load` before and after the changes to see the warning is removed. ``` ■ Warning (comp): bind-key.el:150:2: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting) ```
* Go back to making `override-global-mode` non-globalrealcomplex2022-08-111-1/+0
| | | | Copyright-paperwork-exempt: yes
* Make sure that bind-key's `override-global-mode` is initially onKoen van Greevenbroek2022-08-101-0/+1
| | | | | | | | | | | | | | In 4004dde the arguments to `define-minor-mode` were changed erroneously. Whereas the `override-global-mode` was initially defined as `(define-minor-mode override-global-mode "..." t "")`, the two latter arguments where changed to `:global t :lighter ""`. However, the two original arguments corresponded to the keywords `:init-value` and `:lighter`, respectively. With `:init-value t` now missing, the minor mode isn't enabled by default, and `bind-key*` appears not to work. Copyright-paperwork-exempt: yes
* Quote single quotes in docstrings or use different quotingJonas Bernoulli2022-08-081-13/+13
| | | | | | The byte-compiler started pointing this out: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting)
* Merge pull request from wcy123/masterJohn Wiegley2022-08-071-2/+3
|\ | | | | GitHub-reference: https://github.com/jwiegley/use-package/issues/822
| * optimization: constand folding for read-kbd-macroWang Chunye2022-02-061-2/+3
| | | | | | | | | | | | | | | | | | to boost startup performance, it is better to avoid invoking `read-kbd-macro` at run time which requires 'cl-lib. it takes ~20ms to load cl-lib Copyright-paperwork-exempt: yes
* | Merge pull request from phst/lexJohn Wiegley2022-08-071-1/+1
|\ \ | | | | | | GitHub-reference: https://github.com/jwiegley/use-package/issues/848
| * | Migrate remaining files to lexical bindingPhilipp Stephani2020-08-031-1/+1
| | |
* | | Merge pull request from Hugo-Heagren/bind-keys-repeat-mapJohn Wiegley2022-08-071-9/+65
|\ \ \ | | | | | | | | GitHub-reference: https://github.com/jwiegley/use-package/issues/974
| * | | bind-keys-form: error for repeat sub-keywords without :repeat-mapHugo Heagren2022-01-281-0/+4
| | | | | | | | | | | | | | | | | | | | Error descriptively if :continue or :exit is specified without :repeat-map.
| * | | bind-key-form: allow :continue keyword inside repeat mapHugo Heagren2022-01-281-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | 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-4/+32
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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'.
* | | Avoid positional arguments to define-minor-modeJonas Bernoulli2022-06-261-1/+2
|/ / | | | | | | | | | | Back in Emacs-21.1, `define-minor-mode' grew keyword arguments to replace its old positional arguments. Starting with Emacs-28.1 a warning will be omitted if positional arguments are still used.
* | unbind-key: Ensure that keys are removed from the keymapDaniel Mendler2021-02-101-11/+41
| | | | | | | | | | * The removal from the keymap is performed by bind-key--remove * Use the same argument normalization as bind-key
* | bind-key: Use new symbols for kmapvarDaniel Mendler2021-02-101-4/+7
| |
* | Support keymap symbol in bind-keyJimmy Yuen Ho Wong2020-07-081-5/+8
|/ | | GitHub-reference: fix https://github.com/jwiegley/use-package/issues/845
* Fix typosJonas Bernoulli2019-11-061-1/+1
|
* Document that remapping commands is supported with bind-keyAndrew Schwartzmeyer2018-04-301-0/+6
| | | | Copyright-paperwork-exempt: yes
* bind-keys fixes related toJohn Wiegley2017-12-101-13/+12
| | | GitHub-reference: https://github.com/jwiegley/use-package/issues/482
* Update some GPL version referencesJohn Wiegley2017-12-061-1/+1
| | | | Fixes https://github.com/jwiegley/use-package/issues/563
* Avoid using pcase and many other macros in macro-expanded formsJohn Wiegley2017-12-051-8/+14
| | | | This is related to https://github.com/jwiegley/use-package/issues/550
* Fix bad interaction between bind-keys* and the :package keywordJohn Wiegley2017-12-051-4/+5
| | | | Fixes https://github.com/jwiegley/use-package/issues/558