summaryrefslogtreecommitdiff
path: root/lisp/use-package
Commit message (Collapse)AuthorAgeFilesLines
...
* | | 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.
* Merge pull request from justbur/elisp-capJohn Wiegley2017-12-261-0/+9
|\ | | | | | | Handle automatic macro expansion by elisp-completion-at-point GitHub-reference: https://github.com/jwiegley/use-package/issues/599
| * Handle automatic macro expansion by elisp-completion-at-pointJustin Burkett2017-12-191-0/+9
| | | | | | | | | | | | | | | | | | | | The function `elisp--local-variables' inserts an unbound variable, `elisp--witness--lisp', into macro forms to determine the locally bound variables for `elisp-completion-at-point'. It ends up throwing a lot of errors since it can occupy the position of a keyword (or look like a second argument to a keyword that takes one). Deleting it when it's at the top level should be harmless since there should be no locally bound variables to discover here anyway.
* | Merge pull request from nickmccurdy/render-report-tableJohn Wiegley2017-12-261-0/+3
|\ \ | | | | | | | | | Render the use-package-report table using Org GitHub-reference: https://github.com/jwiegley/use-package/issues/592
| * | Render the use-package-report table using OrgNick McCurdy2017-12-161-0/+3
| | | | | | | | | | | | | | | | | | | | | I noticed that the "Gathering Statistics" instructions for rendering the Org table could be automated for convenience. Now the table is reformatted automatically, and you can still manually sort it. I'm not sorting it by default to maintain the same order of use-package forms for easier troubleshooting.
* | | Fix sanity check for correct :custom-face formatwouter bolsterlee2017-12-201-1/+1
| |/ |/| | | | | | | | | | | | | | | | | Instead of testing the length of each form passed to :custom-face, the sanity check would test the number of forms passed to :custom-face, causing it to fail when more than 2 face customisations are used. Fixes https://github.com/jwiegley/use-package/issues/600. Copyright-paperwork-exempt: yes
* | Guard a call to display-warning with ignoreJohn Wiegley2017-12-171-4/+5
|/ | | | Fixes https://github.com/jwiegley/use-package/issues/589
* All the second argument in use-package-defaults lists to be a functionJohn Wiegley2017-12-151-12/+25
| | | | Address the question raised in https://github.com/jwiegley/use-package/issues/591
* Minor simplification of a functionJohn Wiegley2017-12-101-5/+3
|