John Wiegley
97f0287e19
Make custom-face evaluate elisp. ()
...
Make custom-face evaluate elisp.
GitHub-reference: https://github.com/jwiegley/use-package/issues/773
2019-05-29 13:40:03 -07:00
Vincent Zhang
c297dfdd20
Make custom-face evaluate elisp
...
Fix https://github.com/jwiegley/use-package/issues/696 .
Copyright-paperwork-exempt: yes
2019-05-29 17:42:19 +08:00
John Wiegley
3e36cbfb6d
Merge pull request from stribb/master
...
Add a line of documentation for (use-pacakage ... :hook).
GitHub-reference: https://github.com/jwiegley/use-package/issues/759
2019-04-05 13:47:24 -07:00
Andrew Stribblehill
95f24f9628
Add a line of documentation for (use-pacakage ... :hook)
...
Copyright-paperwork-exempt: yes
2019-04-04 11:19:52 +02:00
John Wiegley
7e40a9c424
Merge pull request from conao3/fix_default_value
...
fix gethash default value for use-package-statistics-time
GitHub-reference: https://github.com/jwiegley/use-package/issues/681
2018-11-19 15:50:27 -08:00
John Wiegley
77ad44639f
Merge pull request from tarsiiformes/silencio
...
Silence byte-compiler on Emacs 25
GitHub-reference: https://github.com/jwiegley/use-package/issues/733
2018-11-10 09:58:42 -08:00
Jonas Bernoulli
fc6fef6869
Silence byte-compiler on Emacs 25
...
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.
2018-11-10 18:52:37 +01:00
John Wiegley
3f96971feb
Merge pull request from jwiegley/use-package-chords-suppress-compiler-message
...
prefix argument with _ to suppress Unused lexical argument warning
GitHub-reference: https://github.com/jwiegley/use-package/issues/713
2018-10-24 16:22:41 -07:00
Justin Talbott
63886cb15f
Merge pull request from lrochfort/ensure-system-package_use-sudo
...
[Fix https://github.com/jwiegley/use-package/issues/720 ] Install system packages using system-packages-install
GitHub-reference: https://github.com/jwiegley/use-package/issues/721
2018-09-13 11:01:53 -04:00
Laurence Rochfort
ca39ed155f
[] Install system packages using system-packages-install
...
: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 9f034a0bcf [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
2018-09-12 19:12:49 +01:00
Justin Talbott
607879e647
prefix argument with _ to suppress Unused lexical argument warning
...
per @tarsius’s comment
5d9c854a6c (commitcomment-29996666)
2018-08-13 15:15:42 -04:00
John Wiegley
4a34b41f96
Merge pull request from justbur/autoload-keymap
...
Correct prefix keys after use-package-autoload-keymap
GitHub-reference: https://github.com/jwiegley/use-package/issues/686
2018-07-15 11:01:24 -07:00
John Wiegley
c169644637
Merge pull request from jwiegley/ensure-system-package-filepath
...
allow :ensure-system-package to check the presence of files at path
GitHub-reference: https://github.com/jwiegley/use-package/issues/703
2018-07-10 00:29:34 -07:00
Justin Talbott
2a8c2ffea2
allow :ensure-system-package to check the presence of files at path
...
closes https://github.com/jwiegley/use-package/issues/660
2018-07-09 17:48:40 -04:00
John Wiegley
0a4d082054
Merge pull request from killdash9/patch-1
...
Place :chords at beginning of use-package-keywords
GitHub-reference: https://github.com/jwiegley/use-package/issues/697
2018-07-03 12:58:38 -07:00
Russell Black
38dcba6872
Place :chords at beginning of use-package-keywords
...
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.
2018-06-28 20:40:58 -06:00
John Wiegley
1fb4198933
Merge pull request from killdash9/patch-1
...
New style of auto-deferral for chords
GitHub-reference: https://github.com/jwiegley/use-package/issues/658
2018-06-25 12:12:37 -07:00
John Wiegley
5fb369c968
Merge branch 'master' into patch-1
2018-06-25 12:09:44 -07:00
John Wiegley
87e26db44f
Merge pull request from jabranham/enable-lexical-binding
...
Enable lexical binding
GitHub-reference: https://github.com/jwiegley/use-package/issues/657
2018-06-13 22:19:49 -07:00
Alex Branham
bdd7fd3565
Fix use-package-normalize-function
2018-06-13 20:24:09 -05:00
Alex Branham
09b7e8e129
Fix use-package-normalize-function tests
2018-06-13 20:24:09 -05:00
Alex Branham
e2e6f9a44b
Enable lexical binding
...
This supersedes https://github.com/jwiegley/use-package/issues/617 and closes https://github.com/jwiegley/use-package/issues/648
2018-06-13 20:24:09 -05:00
John Wiegley
cc9ec36f1a
Merge pull request from taingra/master
...
Added an Introduction taken from the README
GitHub-reference: https://github.com/jwiegley/use-package/issues/692
2018-06-13 13:49:11 -07:00
John Wiegley
b1d9ce08a6
Update use-package.texi
2018-06-13 13:49:00 -07:00
Thomas Ingram
b84a77bcdc
Added an Introduction taken from the README
...
Copyright-paperwork-exempt: yes
2018-06-13 16:24:23 -04:00
Justin Burkett
c980371f6f
Correct prefix keys after use-package-autoload-keymap
...
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
2018-06-03 21:38:20 -04:00
John Wiegley
36f9a9b9b4
Merge pull request from akhramov/fix/ensure-system-package-cleanup
...
ensure-system-package cleanup
GitHub-reference: https://github.com/jwiegley/use-package/issues/683
2018-05-19 14:48:47 -07:00
Artyom Khramov
f38a100917
Ensure system package cleanup
...
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
2018-05-20 00:53:08 +06:00
Naoya Yamashita
db35639457
fix gethash default value for use-package-statistics-time
...
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
2018-05-19 14:21:26 +09:00
Justin Talbott
642417ac05
Merge pull request from andschwa/remap-command
...
Document that remapping commands is supported with bind-key
GitHub-reference: https://github.com/jwiegley/use-package/issues/674
2018-05-13 00:30:24 -04:00
Andrew Schwartzmeyer
d2fec5e5e3
Document that remapping commands is supported with bind-key
...
Copyright-paperwork-exempt: yes
2018-04-30 09:55:27 -07:00
Justin Talbott
85e580a5e4
Merge pull request from akhramov/fix/ensure-system-package-noconfirm
...
[Fix https://github.com/jwiegley/use-package/issues/661 ] ensure-system-package: honor system-packages customizations
GitHub-reference: https://github.com/jwiegley/use-package/issues/673
2018-04-26 14:21:50 -04:00
Artyom Khramov
9f034a0bcf
[] ensure-system-package: honor system-packages customizations
...
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
2018-04-26 03:01:19 +06:00
Russell Black
dc83e2f035
Update use-package-chords.el
2018-03-23 22:04:48 -06:00
Russell Black
c9f6cae603
Update use-package-chords.el
...
new style of auto-deferral for chords
2018-03-23 21:46:36 -06:00
Justin Talbott
e2a322d870
Merge pull request from waymondo/master
...
:ensure-system-package - allow cdr of cons to be a package name symbol
GitHub-reference: https://github.com/jwiegley/use-package/issues/654
2018-03-16 16:07:41 -04:00
Justin Talbott
e5d3826b62
:ensure-system-package allow cdr of cons to be a package name symbol
...
closes https://github.com/jwiegley/use-package/issues/652
2018-03-16 12:29:20 -04:00
John Wiegley
ad601fb49a
Merge pull request from valignatev/master
...
Encourage installation via https instead of http
GitHub-reference: https://github.com/jwiegley/use-package/issues/651
2018-03-14 11:43:35 -07:00
Valentin Ignatev
8a27cd3a8b
Encourage installation via https instead of http
2018-03-14 21:27:09 +10:00
John Wiegley
742cf27b0e
Merge pull request from DamienCassou/fix-report-again
...
Fix report again after revert
GitHub-reference: https://github.com/jwiegley/use-package/issues/647
2018-03-12 23:35:01 -07:00
Damien Cassou
69a561b86b
Fix compile-time warnings due to the statistics-reporting code
...
The code worked because the file is using dynamic binding.
2018-03-12 08:42:16 +01:00
Damien Cassou
2a47998844
Add missing require
...
This is used for `hash-table-keys`.
Fix https://github.com/jwiegley/use-package/issues/644 .
2018-03-12 08:42:16 +01:00
John Wiegley
dd8ef12112
Merge pull request from jwiegley/revert-645-fix-report
...
Revert "Fix report"
GitHub-reference: https://github.com/jwiegley/use-package/issues/646
2018-03-11 21:37:34 -07:00
John Wiegley
cba5a11368
Revert "Fix report"
2018-03-11 21:37:02 -07:00
John Wiegley
b1429951b1
Merge pull request from DamienCassou/fix-report
...
Fix report
GitHub-reference: https://github.com/jwiegley/use-package/issues/645
2018-03-11 21:34:23 -07:00
Damien Cassou
b28efb4847
Fix compile-time warnings due to the statistics-reporting code
...
The code worked because the file is using dynamic binding.
2018-03-11 13:24:08 +01:00
Damien Cassou
bce655f616
Add missing require
...
This is used for `hash-table-keys`.
Fix https://github.com/jwiegley/use-package/issues/644 .
2018-03-11 13:23:49 +01:00
John Wiegley
4cc7f91270
Merge pull request from DamienCassou/tabulated-list
...
Use a tabulated-list to display package configuration statistics
GitHub-reference: https://github.com/jwiegley/use-package/issues/642
2018-03-08 14:45:02 -08:00
Damien Cassou
ae22d74a16
Use a tabulated-list to display package configuration statistics
...
Fix https://github.com/jwiegley/use-package/issues/641
2018-03-08 21:00:31 +01:00
John Wiegley
76e6d3e8bc
Merge pull request from matthewbauer/patch-1
...
Support ":package" in use-package
GitHub-reference: https://github.com/jwiegley/use-package/issues/633
2018-03-05 10:09:44 -08:00