summaryrefslogtreecommitdiff
path: root/lisp/use-package
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Fix broken test due toJimmy Yuen Ho Wong2020-07-121-1/+1
| | | | | | | | | | | | GitHub-reference: https://github.com/jwiegley/use-package/issues/850
* | | | Support keymap symbol in bind-keyJimmy Yuen Ho Wong2020-07-081-5/+8
|/ / / | | | | | | GitHub-reference: fix https://github.com/jwiegley/use-package/issues/845
* | | use-package-core.el: use the Emacs set-default function to avoid saving ↵Ted Zlatanov2020-06-221-1/+3
| | | | | | | | | | | | :custom vars twice
* | | Merge branch 'master' into call-hooks-even-if-no-configJohn Wiegley2020-06-181-4/+4
|\ \ \
| * | | typo, should be a vector, not a bytecode objectNahuel Greco2020-05-201-4/+4
| | | | | | | | | | | | | | | | Solves https://github.com/jwiegley/use-package/issues/842
* | | | Add special value back again, in case needed for backwards compatJohn Lee2020-05-091-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I don't know why this special value exists, but perhaps old client code uses it. The additional `t' in the macro expansion is accidental but not harmful I guess. Copyright-paperwork-exempt: yes
* | | | Even when there's no :config, run any pre/post config hooksJohn Lee2020-05-091-3/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | i.e., following the existing docs for use-package-inject-hooks, these hooks are run: use-package--foo--pre-config-hook use-package--foo--post-config-hook This should make config customisations more predictable (for example, spacemacs uses these hooks extensively to allow 'layers' to be customised). I got rid of the "special" default value for :config, because it doesn't seem to be treated any differently than nil. Fixes https://github.com/jwiegley/use-package/issues/785 Copyright-paperwork-exempt: yes
* | | Clarify the documentation for :afterJohn Wiegley2020-03-041-3/+5
| | |
* | | Fix typosJonas Bernoulli2019-11-062-2/+2
| | |
* | | Switch from `require' to `load' + `featurep'Radon Rosborough2019-07-151-1/+2
| | |
* | | Use `require', not `load', when byte-compilingRadon Rosborough2019-07-121-1/+1
|/ /
* / Make custom-face evaluate elispVincent Zhang2019-05-291-1/+1
|/ | | | | | Fix https://github.com/jwiegley/use-package/issues/696. Copyright-paperwork-exempt: yes
* Add a line of documentation for (use-pacakage ... :hook)Andrew Stribblehill2019-04-041-1/+2
| | | | Copyright-paperwork-exempt: yes
* Merge pull request from conao3/fix_default_valueJohn Wiegley2018-11-191-4/+4
|\ | | | | | | fix gethash default value for use-package-statistics-time GitHub-reference: https://github.com/jwiegley/use-package/issues/681
| * fix gethash default value for use-package-statistics-timeNaoya Yamashita2018-05-191-4/+4
| | | | | | | | | | | | | | | | float-time expect list like (HIGH LOW USEC PSEC) > HIGH has the most significant bits of the seconds, while LOW has the > least significant 16 bits. USEC and PSEC are the microsecond and > picosecond counts. by `current-time` in editfns.c
* | Silence byte-compiler on Emacs 25Jonas Bernoulli2018-11-101-23/+23
| | | | | | | | | | | | | | | | Emacs 25 defined a global variable `features', which triggers a warning "Lexical argument shadows the dynamic variable features". That's not `use-package's fault, but we should suppress the warning anyway, so that there is no additional noise that would cause us to potentially overlook warnings that absolutely have to be addressed.
* | Merge pull request from jwiegley/use-package-chords-suppress-compiler-messageJohn Wiegley2018-10-241-1/+1
|\ \ | | | | | | | | | prefix argument with _ to suppress Unused lexical argument warning GitHub-reference: https://github.com/jwiegley/use-package/issues/713
| * | prefix argument with _ to suppress Unused lexical argument warningJustin Talbott2018-08-131-1/+1
| | | | | | | | | | | | | | | per @tarsius’s comment https://github.com/jwiegley/use-package/commit/5d9c854a6cf12fff2326ee5653e87e2d3d550a8d#commitcomment-29996666
* | | [] Install system packages using system-packages-installLaurence Rochfort2018-09-121-10/+12
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | :ensure-system-package was installing packages by running system-packages-get-command via async-shell-command. This meant that system-packages-use-sudo wasn't being honoured. This patch makes :ensure-system-package use system-packages-install for all cases, except where a custom install command is supplied, in which case async-shell-command is used. This issue was introduced in 9f034a0bcfdd8c4 [https://github.com/jwiegley/use-package/issues/673], as a fix for [https://github.com/jwiegley/use-package/issues/661]. Prior to that commit, system-packages-use-sudo was being honoured. This patch also fixes a bug where a cons containing a lone symbol in a list of conses causes nil to used as the package to install. GitHub-reference: fix https://github.com/jwiegley/use-package/issues/720 Copyright-paperwork-exempt: yes
* | 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
* | | allow :ensure-system-package to check the presence of files at pathJustin Talbott2018-07-091-1/+8
| | | | | | | | | | | | closes https://github.com/jwiegley/use-package/issues/660
* | | Place :chords at beginning of use-package-keywordsRussell Black2018-06-281-1/+1
| | | | | | | | | | | | When it is at the end, the keys don't get bound until after the package has been loaded, which is bad. Placing it at the beginning allows the key bindings to be mapped to auto-loaded functions before the package is loaded, so that a key chord press triggers the package load.
* | | Merge branch 'master' into patch-1John Wiegley2018-06-2511-81/+75
|\ \ \
| * | | Fix use-package-normalize-functionAlex Branham2018-06-131-1/+1
| | | |
| * | | Enable lexical bindingAlex Branham2018-06-1310-65/+65
| |/ / | | | | | | | | | This supersedes https://github.com/jwiegley/use-package/issues/617 and closes https://github.com/jwiegley/use-package/issues/648
| * / Ensure system package cleanupArtyom Khramov2018-05-201-3/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | The function introduced in https://github.com/jwiegley/use-package/issues/673 wasn't declared at compile time, and it made byte compiler unhappy. Moreover, it was forgotten to remove redundant compile time variables. Thanks @tarsius for pointing that out. This change * Removes redundant variable declarations * Adds `system-packages-get-command` function declaration. Copyright-paperwork-exempt: yes
| * Document that remapping commands is supported with bind-keyAndrew Schwartzmeyer2018-04-301-0/+6
| | | | | | | | Copyright-paperwork-exempt: yes
| * [] ensure-system-package: honor system-packages customizationsArtyom Khramov2018-04-261-12/+2
| | | | | | | | | | | | | | | | | | | | | | ensure-system-package doesn't honor system-packages customizations (https://github.com/jwiegley/use-package/issues/661), because system-packages didn't provide an API to retrieve shell command to be executed. This change makes use of the new system-packages' `system-package-get-command` function and therefore fixes the issue. GitHub-reference: fix https://github.com/jwiegley/use-package/issues/661 Copyright-paperwork-exempt: yes
* | Update use-package-chords.elRussell Black2018-03-231-13/+4
| |
* | Update use-package-chords.elRussell Black2018-03-231-0/+3
|/ | | | new style of auto-deferral for chords
* :ensure-system-package allow cdr of cons to be a package name symbolJustin Talbott2018-03-161-1/+5
| | | | closes https://github.com/jwiegley/use-package/issues/652
* Fix compile-time warnings due to the statistics-reporting codeDamien Cassou2018-03-121-18/+18
| | | | The code worked because the file is using dynamic binding.
* Add missing requireDamien Cassou2018-03-121-0/+6
| | | | | | This is used for `hash-table-keys`. Fix https://github.com/jwiegley/use-package/issues/644.
* Revert "Fix report"John Wiegley2018-03-111-19/+18
|
* Fix compile-time warnings due to the statistics-reporting codeDamien Cassou2018-03-111-18/+18
| | | | The code worked because the file is using dynamic binding.
* Add missing requireDamien Cassou2018-03-111-0/+1
| | | | | | This is used for `hash-table-keys`. Fix https://github.com/jwiegley/use-package/issues/644.
* Use a tabulated-list to display package configuration statisticsDamien Cassou2018-03-081-24/+54
| | | | Fix https://github.com/jwiegley/use-package/issues/641
* 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.
* Fix usage of plist argument in use-package-normalize-plistJustin Burkett2018-02-061-1/+2
| | | | Previously the argument was never used.
* Add use-package-ignore-unknown-keywords optionJustin Burkett2018-02-061-2/+15
| | | | This option allows use-package to skip over keywords it doesn't recognize.
* Revert "Merge pull request from jabranham/lexical-bindings"John Wiegley2018-01-279-60/+60
| | | | | 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-279-52/+11
| | | | This reverts commit c29193bf0724633adf7183dad2d0b6faf7d029ab.
* Move variable bindings to the bottom of each fileJohn Wiegley2018-01-279-11/+52
|
* Don't remove sharp quotesAlex Branham2018-01-271-21/+21
|
* Fix byte compiler warningsAlex Branham2018-01-275-70/+71
|
* Use lexical bindings and remove cl packageAlex Branham2018-01-279-10/+9
|
* lexical bindingAlex Branham2018-01-261-1/+1
|
* Prefer non-obsolete var namesAlex Branham2018-01-261-6/+6
|
* Prefer org-table-align to orgtbl-ctrl-c-ctrl-cAlex Branham2018-01-081-1/+1
| | | | | | org-table-align is an autoloaded function so the byte compiler can find it. orgtbl-ctrl-c-ctrl-c isn't so we get a warning about undefined functions.