Commit Graph

915 Commits

Author SHA1 Message Date
9f8277b2c4 Correct doom/reload-autoloads docstring 2019-10-25 20:25:20 -04:00
9936bd9623 Add 'SPC h d {k,i,c}'
For jumping to init.el, config.el and packages.el
2019-10-25 20:25:20 -04:00
f516d4c342 Fix package! mutating package state at expansion time
Fixes an issue where package! declarations were read unconditionally at
compile time, whether or not they were on a reachable code path. e.g.
evil is always disabled by:

  (when nil
    (package! evil :disable t))
2019-10-25 02:38:15 -04:00
ee80ed680c Defer evaluation of custom-set-faces!'s arguments
...until the theme has first loaded.

You'll need to set `doom-theme` to nil if you want to use this macro
without a theme!
2019-10-24 19:43:10 -04:00
ac58eaf031 Add comment to search loaded .el files
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-10-23 14:41:12 +09:00
0df480bf85 Bind 'SPC h d l' for text-searching load-path
Co-authored-by: Rudi Grinberg <139003+rgrinberg@users.noreply.github.com>
2019-10-23 00:51:09 -04:00
e0469e14c0 Minor refactors & reformatting across the board 2019-10-20 19:57:27 -04:00
a8cc68e00b Add doom/homepage command
Not that the site exists yet, but I'm tired of having all these tidbits
of uncommitted code laying about. It'll exist eventually!
2019-10-20 15:14:37 -04:00
c109acd6fd Optimize doom-visible-buffers
Walking the window list is almost always faster than walking the buffer
list.
2019-10-20 10:58:53 -04:00
c8efb45746 Add doom-{file,directory}-size file functions 2019-10-19 14:38:56 -04:00
679b16a22e Fix doom-exec-process not returning output 2019-10-19 02:34:57 -04:00
f2cd5bdf97 Add doom-{call,exec}-process functions & let-cliopts! macro
Needed for 3e947d39b and for upcoming CLI rewrite.
2019-10-17 14:38:00 -04:00
8b57226634 doom/toggle-debug-mode: affect jka-compr-verbose & lsp-log-io 2019-10-17 02:36:19 -04:00
24b336322c Fix doom/kill-buried-buffer closing windows
By making doom/kill-all-buffers less gung ho about deleting windows when
the buffer list is empty.
2019-10-14 18:48:42 -04:00
da7aef9a4c Move --restore handler to init.el #1893 2019-10-14 02:54:29 -04:00
55e00bbd26 re-search-forward to search-forward when no re
When no regular expression is present, it's faster and simpler to use
search-forward

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-10-13 12:25:41 +09:00
30c091d3f5 Fix non-string args to file-exists-p! macro 2019-10-12 00:48:48 -04:00
82167ab48a Remove :lang vala module
To small to warrant a module and vala-mode is unmaintained. It's trivial
for end users to install it themselves.
2019-10-10 21:31:13 -04:00
a3fa1e07b1 Refactor doom/kill-*-buffer commands 2019-10-10 16:11:42 -04:00
9e3974d2f3 doom/help-faq: restrict to second-levels headings 2019-10-10 16:11:41 -04:00
d9945d8964 autoload/format: add doom-format-indent-increment 2019-10-07 12:57:18 -04:00
fa051797f2 Move --restore handler to autoload/sessions 2019-10-07 12:56:53 -04:00
297728bf74 Generalize doom-file-cookie-p
And move it to doom-file-cookie-p for anyone to use.
2019-10-04 22:42:53 -04:00
38e445afe7 Fix #1831: typo & extra args in doom/toggle-narrow-buffer 2019-09-27 11:34:21 -04:00
4a8cef56ea Fix doom/info omitting flags on some modules 2019-09-26 21:57:55 -04:00
22e3dfa677 Update doom/reload-env
To use `doom env` instead of `doom env refresh` (which is deprecated)
2019-09-26 14:26:47 -04:00
e10cd8cf2e Insult byte-compiler's mom
Yeah, that shut him up.
2019-09-20 23:10:53 -04:00
5f7add8360 Update doom/reload-{theme,font}
To reflect changes introduced in 17174e143
2019-09-20 19:52:55 -04:00
ac87e3d517 Merge pull request #1784 from flatwhatson/many-faces
Fix the multi-face form of custom-set-faces!
2019-09-15 01:43:56 -04:00
fff4968da9 Change how doom/info lists private packages 2019-09-14 18:27:58 -04:00
c8cd94a5d2 Add window-system & daemonp props to 'doom info' 2019-09-14 18:27:58 -04:00
f23a833f31 Fix the multi-face form of custom-set-faces! 2019-09-15 02:09:58 +10:00
f9190c08bf Remove unused argument in doom/narrow-buffer-indirectly 2019-09-14 01:55:53 -04:00
6bef031e25 Bind SPC b - to doom/toggle-narrow-buffer 2019-09-14 01:55:16 -04:00
4c0eb989fb Fix duplicate paths in initial input for doom/save-session
Forgot to do this in 3e3808aa8
2019-09-13 22:00:34 -04:00
31ccd9be78 Replace vestigial references to def-package!
def-package! is deprecated and is replaced with use-package! to reduce
confusion about its purpose and connection to use-package.
2019-09-13 22:00:34 -04:00
8ad8b5d8ad Make narrow/widen commands incremental
Doom's narrow/widen commands will now narrow/widen incrementally (using
indirect buffer clones). If the prefix arg is passed to the widen
command, kill all indirect buffers and widen the parent buffer.
2019-09-13 01:58:27 -04:00
5e6c2205b8 Bind to zn/zN to new narrow/widen (indirect) commands 2019-09-13 00:28:08 -04:00
3e3808aa8d Fix duplicate paths in initial input for doom/load-session 2019-09-12 17:25:54 -04:00
9d775ca798 Autoload format library
If you byte-compile your config, the expanded forms of this library's
macros (like print! or format!) will use internal functions that aren't
autoloaded (like `doom--format`, mentioned in #1768), causing
void-function errors.
2019-09-09 13:59:13 -04:00
4bc65a3f78 Prevent C-c C-p sandbox from loading private modules
And don't change doom-private-dir, as it isn't necessary and it affects
the purity of the test environment.
2019-09-06 15:37:40 -04:00
d665c7173a Remove esup
Because esup is fundamentally incompatible with Doom, we are removing
it. Hopefully we can replace it later down the road.
2019-09-06 00:15:13 -04:00
44ef61a7f7 Fix doom/help-packages 2019-09-03 16:53:41 -04:00
52b6c51914 Read packages.el files directly for doom-info
This is a little more accurate and affects less state of the current
session.
2019-09-03 00:38:29 -04:00
4b736bef68 Introduce doom-interactive-mode
As soft inverse alias for noninteractive; this makes it easier to unit
test functionality that depends on the session type.
2019-09-03 00:37:30 -04:00
7727920629 Rewrite doom/reload 2019-08-28 15:19:58 -04:00
464ebabc2a Add warning to doom/reload (SPC h R) 2019-08-28 12:40:59 -04:00
a5096ff86b Add ELPA packages to doom info output 2019-08-27 00:05:12 -04:00
aff5cc5b28 Move file-exists-p! to core/autoload/files.el 2019-08-22 13:03:12 -04:00
3b9701161a Fix build date in doom/version
When it is called interactively from a file outside of ~/.emacs.d
2019-08-21 12:17:32 -04:00