summaryrefslogtreecommitdiff
path: root/lisp/use-package/bind-key.el
Commit message (Collapse)AuthorAgeFilesLines
...
* Allow keys to be bound to nilJohn Wiegley2017-11-291-5/+6
| | | | Fixes https://github.com/jwiegley/use-package/issues/525
* Update version and copyrightJohn Wiegley2017-11-291-4/+5
|
* Allow :bind ("C-c C-c" . (lambda () (ding))) and #'(lambda ...)John Wiegley2017-11-291-4/+4
| | | | | Fixes https://github.com/jwiegley/use-package/issues/333 Fixes https://github.com/jwiegley/use-package/issues/461
* Print map keys in describe-personal-keybindingsJohn Wiegley2017-11-281-2/+2
| | | | Fixes https://github.com/jwiegley/use-package/issues/406
* Repeating a bind no longer causes duplicates in personal-keybindingsJohn Wiegley2017-11-281-3/+7
| | | | Fixes https://github.com/jwiegley/use-package/issues/446
* Merge pull request from tarsius/outlineJohn Wiegley2016-12-181-0/+3
|\ | | | | | | Support outline-minor-mode GitHub-reference: https://github.com/jwiegley/use-package/issues/420
| * Support outline-minor-modeJonas Bernoulli2016-12-171-0/+3
| | | | | | | | | | | | In "use-package.el" prefix headings with ";;;" instead of just ";;". In "bind-key.el" add the missing ";;; Code:" heading. In both libraries set `outline-regexp' to an appropriate value.
* | Delay decision whether to use eval-after-load until run-timeJonas Bernoulli2016-12-181-3/+3
|/ | | | | | | | | | | Just because a keymap variable is bound at macro-expansion-time doesn't mean that it must be bound at run-time too. Change `bind-keys-form', which is used by `bind-keys' and other macros, to return a form which delays the decision on whether to wrap the binding forms with `eval-after-load' until run-time. Fixes https://github.com/jwiegley/use-package/issues/378.
* :map no longer accepts lists; only eval-after-load if necessaryJohn Wiegley2016-02-271-20/+14
| | | | Fixes https://github.com/jwiegley/use-package/issues/324
* Merge pull request from ljos/masterJohn Wiegley2016-02-261-1/+1
|\ | | | | | | Quote variable in bind-keys* GitHub-reference: https://github.com/jwiegley/use-package/issues/325
| * Quote variable in `bind-keys*'Bjarte Johansen2016-02-261-1/+1
| | | | | | | | | | * bind-key.el (bind-keys*): `override-global-map' needs to be quoted so the symbol is passed to `bind-keys-form' and not the value. GitHub-reference: fixes https://github.com/jwiegley/use-package/issues/323
* | Repair :map handling in bind-key.elJohn Wiegley2016-02-261-4/+10
|/ | | GitHub-reference: fixes https://github.com/jwiegley/use-package/issues/324
* Remove :bind-keymaps, and only apply :map bindings after loadJohn Wiegley2016-02-251-24/+38
|
* Support multiples uses of :map with :bindJohn Wiegley2016-02-251-24/+54
| | | GitHub-reference: fixes https://github.com/jwiegley/use-package/issues/121
* Merge pull request from alezost/keymap-doc-fixJohn Wiegley2016-02-251-1/+2
|\ | | | | | | Handle the case when keymap has a broken documentation GitHub-reference: https://github.com/jwiegley/use-package/issues/223
| * Handle the case when keymap has a broken documentationAlex Kost2015-06-221-1/+2
| |
* | Upper casing Cs corresponding to CtrlNicolas Dudebout2016-02-051-4/+4
| | | | | | | | A number of Cs corresponding to Ctrl have been lower cased in comments in eb6b81dfe.
* | Add a missing commaJohn Wiegley2016-01-121-1/+1
| |
* | Add a PREDICATE option to bind-key, and :filter to `bind-keys'John Wiegley2016-01-111-24/+41
| |
* | Use cl-mapcan rather than apply 'nconc; thanks wasamasaJohn Wiegley2015-12-201-11/+9
|/
* unbind-key now removes key from personal-keybindingsJohn Wiegley2015-03-211-14/+23
| | | | Fixes https://github.com/jwiegley/use-package/issues/74
* Fix file headersJohn Wiegley2015-03-211-22/+23
|
* Add autoload stanzas to bind-keyJohn Wiegley2015-03-211-0/+8
| | | | Fixes https://github.com/jwiegley/use-package/issues/33
* Change use-package to use bind-keys and bind-keys*John Wiegley2015-03-211-23/+26
| | | | Fixes https://github.com/jwiegley/use-package/issues/129
* Change bind-key* behavior to mimic bind-keys*John Wiegley2015-03-211-3/+1
| | | | Fixes https://github.com/jwiegley/use-package/issues/148
* Whitespace cleanupsJohn Wiegley2015-03-211-5/+4
|
* Allow :map in bind-keys to accept multiple mapsJohn Wiegley2015-03-211-54/+62
| | | | Fixes https://github.com/jwiegley/use-package/issues/129
* get-binding-description: return keymap symbolNoam Postavsky2015-03-191-6/+3
| | | | instead of "#<keymap>".
* fix small typo (key > keymap)Thiago Barroso Perrotta2015-01-021-1/+1
|
* Do not quote lambda expressionsSean Allred2014-12-191-2/+2
| | | | | | | | http://emacs.stackexchange.com/a/3596 Quoting lambda expressions is at best redundant and at worst detrimental; this commit removes all use of the sharp-quote to reduce confusion.
* bind-keys macro changed to allow prefix map to have a menu stringBernard Hurley2014-06-201-4/+10
|
* bind-key: cleanupNoam Postavsky2014-05-311-13/+12
|
* bind-key: no vector keys in personal-keybindingsNoam Postavsky2014-05-311-1/+3
| | | | | describe-personal-keybindings requires the key sequences to be stored as strings.
* personal-keybindings: add docstringNoam Postavsky2014-05-311-2/+5
| | | | fix typo in bind-key docstring
* Add bind-keys* macroAlex Kost2014-05-251-0/+12
|
* * bind-key.el (bind-key): don't eval key-name at macro expansion timeNicolas Richard2014-04-141-1/+1
|
* bind-keys: bind directly to prefix-mapNoam Postavsky2014-04-141-5/+3
| | | | | | instead of constructing equivalent key sequence by string concatenation. This allows specifying vector key sequences, as in bind-key (since f0776c2aeb3f7f0af66597e10a3e4469ca26629d).
* bind-keys: ,@(when map (list map)) => mapNoam Postavsky2014-04-141-2/+2
| | | | Omitting map is same as passing nil.
* fix typoNoam Postavsky2014-04-141-1/+1
| | | | | Actually the reader accepts (list 'a'b) = (list 'a 'b); it still looks wrong.
* let bind-key accept vectors, add docstringNoam Postavsky2014-03-011-1/+8
|
* Merge pull request from Fuco1/variable-col-widthJohn Wiegley2014-02-181-5/+12
|\ | | | | | | Add variable column width GitHub-reference: https://github.com/jwiegley/use-package/issues/90
| * Add variable column widthMatus Goljer2014-02-181-5/+12
| |
* | Add better descriptions for lambdas, closures, keymapsMatus Goljer2014-02-181-3/+18
|/
* Add `bind-keys` macroMatus Goljer2014-02-131-0/+61
|
* stop describe-personal-keybindings adding trailing spaceAdam Spiers2014-02-051-10/+13
| | | | | | When emacs is configured to highlight trailing whitespace, the *Personal Keybindings* buffer looked pretty ugly. This fixes that.
* fix bind-key URL (fixes)Adam Spiers2014-01-061-1/+1
| | | | Also makes a start on https://github.com/jwiegley/use-package/issues/32. GitHub-reference: https://github.com/jwiegley/use-package/issues/58
* hyperlink functions in Comments columnAdam Spiers2014-01-041-2/+2
| | | | | Previously, only the functions in the Command column were hyper-linked. Also clarify the meaning of the "was" entries in the Comments column.
* remove after-init-hook for override-global-modeNoam Postavsky2013-10-121-5/+0
| | | | | The INIT-VALUE argument to define-minor-mode is t, so it's enabled by default.
* Improve (describe-personal-keybindings) outputTing-Yu Lin2013-09-041-13/+10
| | | | | | | | Create *Personal Keybindings* by with-output-to-temp-buffer. It redirects standard output to the buffer and display it in help mode. So we can get help mode keybindings such as "q" for free. Quote the command-desc output so that it is made into a hyperlink.
* Fix initial line to satisfy package.elSteve Purcell2013-07-281-1/+1
|