Commit Graph

3939 Commits

Author SHA1 Message Date
d525b5502b Update tests with new arg for doom-initialize 2019-12-05 19:50:38 -05:00
341e8b3531 cli/help: only show aliases if there are any 2019-12-05 19:34:09 -05:00
e3f8674297 Group 'doom refresh' with maintenance commands 2019-12-05 15:01:04 -05:00
1c402950af Display command aliases from 'doom help CMD' 2019-12-05 14:59:47 -05:00
c13b8df5df Minor refactors & reformatting 2019-12-05 14:56:16 -05:00
96e0ccab21 Add sync alias for 'doom refresh' 2019-12-05 14:55:13 -05:00
4b05a64263 Ensure no autoloads files are preloaded on 'doom refresh' 2019-12-05 14:55:01 -05:00
d232ba241f Remove 'doom autoloads'
It's redundant with doom refresh
2019-12-05 14:54:49 -05:00
35bb87edeb Fix unrelated errors when missing autoloads files
It should warn the user that the autoloads files are missing and need to
be generated, but instead displayed an unrelated error.
2019-12-05 14:52:46 -05:00
4300957aea Add NOERROR arg to doom-initialize 2019-12-05 14:52:30 -05:00
172260118e core/core-cli: only load the libraries we need 2019-12-05 14:50:05 -05:00
4ced3d3e83 Fix doom/reload #2153 2019-12-04 20:37:59 -05:00
235d31e82e Shorten def-package{,-hook}! deprecation warnings 2019-12-03 20:02:32 -05:00
153fbbc466 cli/upgrade: print git fetch log on successful upgrade 2019-12-02 20:22:01 -05:00
41e2fb3f76 Replace doom-large-file-size w/ doom-large-file-size-alist
Now you can have major-mode-specific large-filesize thresholds, since
not all major modes are created equal.
2019-12-02 20:22:00 -05:00
24506f15bf cli/env: fix doom-env-ignored-vars not being ignored
And add HOME to ignored vars.
2019-12-02 20:22:00 -05:00
a0d94e0db7 cli/upgrade: fix -y/--yes for 'doom upgrade'
Otherwise, 'doom upgrade' throws 'Unrecognized switch "-y"' error after
updating Doom.
2019-12-02 20:22:00 -05:00
724bf9aa08 Refactor evaluation of doom!'s arguments
And update doom!'s docstring
2019-12-02 20:22:00 -05:00
4fed5e7eb3 Fix doom/kill-buried-buffers deleting windows 2019-11-28 19:56:05 -05:00
f959147218 Reset projectile-use-git-grep
Other search engines are no longer our responsibility.
2019-11-28 15:36:07 -05:00
8f77c41a48 font-use-system-font = t if no font is set 2019-11-28 15:35:30 -05:00
f6ec3181c8 Fix doom/reload-autoloads 2019-11-25 16:34:56 -05:00
886fa36ac8 Improve 'doom purge' progress output 2019-11-25 02:18:01 -05:00
b665e31bcb Restore mode-line help-echo properties
And moved it to my private config.
2019-11-25 02:10:51 -05:00
ffc29a547c Associate clojurescript-mode with :lang clojure
For doom/help-modules
2019-11-24 19:39:10 -05:00
570894e1c8 cli/upgrade: 'doom refresh' after upgrading, before updating
Fixes an issue where uninitialized packages aren't installed when 'doom
update' tries to update them.
2019-11-24 19:38:49 -05:00
5b190c9eca Unfold hidden subtree after doom-completing-read-org-headings
Affects doom/help* commands, as well as +default/org-notes-headlines,
and others (any command that uses doom-completing-read-org-headings to
search org files).
2019-11-24 19:21:20 -05:00
d37ebee2f8 Print progress to same line on 'doom update'
Experimental.
2019-11-24 16:50:46 -05:00
a9f412bf5e Fix doom/help-* commands for helm users #2107 2019-11-24 16:50:46 -05:00
ebe1da4282 doom-module-from-path: exclude psuedo-modules #2107
Don't include :core and :private modules in '<help> d m'. They aren't
real and no help can be derived from them.
2019-11-23 15:01:34 -05:00
d11902f313 doom-module-from-path: return nil if not in a module #2107 2019-11-23 14:52:38 -05:00
5ece51a2a6 Prevent straight recipe lookup errors #2104
Errors like 'Could not find package emacsmirror-mirror in recipe
repositories' occur because I assumed that straight--reset-caches would
unset `straight-recipe-repositories`. I'm not sure if that was ever the
case, but it isn't now.
2019-11-23 01:44:49 -05:00
26c8f5c6ef Bytecompiler bytecompiler, won't you shut up 2019-11-23 01:21:25 -05:00
803da8b3b9 Fix #2104: prevent double-package-init on 'doom refresh'
'Could not find package emacsmirror-mirror in recipe repositories'
error, which shouldn't happen since emacsmirror-mirror is a recipe repo.
2019-11-23 01:21:25 -05:00
9676c7a871 Update straight init
Since straight-allow-recipe-inheritance was introduced upstream, we no
longer need to merge recipes ourselves.
2019-11-23 01:21:24 -05:00
9d9b6e514c Refactor autoloads generater 2019-11-23 01:21:24 -05:00
e7019e4163 Fix custom-set-*-faces! macros in Emacs 27
custom--inhibit-theme-enable is non-nil by default in Emacs 27, which
inhibits uses of `custom-theme-set-faces` when modifying any theme other
than 'user.
2019-11-22 16:24:19 -05:00
4351474bf3 Add "X updated" notice after package is updated
To make it clearer what package was just updated after spewing a lot of
git log output.
2019-11-22 16:15:06 -05:00
c9ae1f0a30 cli/env: ignore GPG_TTY & TERM envvars 2019-11-22 16:14:05 -05:00
88eb9d1d61 Don't bind noninteractive while building autoloads
See raxod502/straight.el#431
2019-11-22 13:52:07 -05:00
fcbd91fc0d Fix custom-set-theme-faces! applying only to 'user 2019-11-22 13:17:10 -05:00
34500c9177 Fix #2103: logic error initializing gcmh-mode 2019-11-22 12:56:00 -05:00
2dc50f49fc Fix #1500: rewrite font size adjustment commands 2019-11-22 00:39:55 -05:00
441fc5115c Don't load user's init.el in sandbox sessions
For 'C-c C-p' and 'C-c C-d', specifically.
2019-11-21 21:55:48 -05:00
a6e25209b8 Fix #2046 replacing process-environment, exec-path & shell-file-name 2019-11-21 17:16:46 -05:00
fb13b902b0 Minor comment/doc revision & refactors 2019-11-21 14:46:45 -05:00
db19241936 Use gcmh package to manage adjust GC interactively 2019-11-21 14:46:45 -05:00
6f63a28c8f Require straight on doom//* commands 2019-11-21 14:24:20 -05:00
d873e75e63 Disable M-x customize & M-x customize-themes 2019-11-21 14:21:56 -05:00
cfe501fab0 Fix doom//*... again 2019-11-21 14:10:48 -05:00