Henrik Lissner
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
Henrik Lissner
8b57226634
doom/toggle-debug-mode: affect jka-compr-verbose & lsp-log-io
2019-10-17 02:36:19 -04:00
Henrik Lissner
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
Henrik Lissner
da7aef9a4c
Move --restore handler to init.el #1893
2019-10-14 02:54:29 -04:00
Rudi Grinberg
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
Henrik Lissner
30c091d3f5
Fix non-string args to file-exists-p! macro
2019-10-12 00:48:48 -04:00
Henrik Lissner
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
Henrik Lissner
a3fa1e07b1
Refactor doom/kill-*-buffer commands
2019-10-10 16:11:42 -04:00
Henrik Lissner
9e3974d2f3
doom/help-faq: restrict to second-levels headings
2019-10-10 16:11:41 -04:00
Henrik Lissner
d9945d8964
autoload/format: add doom-format-indent-increment
2019-10-07 12:57:18 -04:00
Henrik Lissner
fa051797f2
Move --restore handler to autoload/sessions
2019-10-07 12:56:53 -04:00
Henrik Lissner
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
Henrik Lissner
38e445afe7
Fix #1831 : typo & extra args in doom/toggle-narrow-buffer
2019-09-27 11:34:21 -04:00
Henrik Lissner
4a8cef56ea
Fix doom/info omitting flags on some modules
2019-09-26 21:57:55 -04:00
Henrik Lissner
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
Henrik Lissner
e10cd8cf2e
Insult byte-compiler's mom
...
Yeah, that shut him up.
2019-09-20 23:10:53 -04:00
Henrik Lissner
5f7add8360
Update doom/reload-{theme,font}
...
To reflect changes introduced in 17174e143
2019-09-20 19:52:55 -04:00
Henrik Lissner
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
Henrik Lissner
fff4968da9
Change how doom/info lists private packages
2019-09-14 18:27:58 -04:00
Henrik Lissner
c8cd94a5d2
Add window-system & daemonp props to 'doom info'
2019-09-14 18:27:58 -04:00
Andrew Whatson
f23a833f31
Fix the multi-face form of custom-set-faces!
2019-09-15 02:09:58 +10:00
Henrik Lissner
f9190c08bf
Remove unused argument in doom/narrow-buffer-indirectly
2019-09-14 01:55:53 -04:00
Henrik Lissner
6bef031e25
Bind SPC b - to doom/toggle-narrow-buffer
2019-09-14 01:55:16 -04:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
5e6c2205b8
Bind to zn/zN to new narrow/widen (indirect) commands
2019-09-13 00:28:08 -04:00
Henrik Lissner
3e3808aa8d
Fix duplicate paths in initial input for doom/load-session
2019-09-12 17:25:54 -04:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
44ef61a7f7
Fix doom/help-packages
2019-09-03 16:53:41 -04:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
7727920629
Rewrite doom/reload
2019-08-28 15:19:58 -04:00
Henrik Lissner
464ebabc2a
Add warning to doom/reload (SPC h R)
2019-08-28 12:40:59 -04:00
Henrik Lissner
a5096ff86b
Add ELPA packages to doom info output
2019-08-27 00:05:12 -04:00
Henrik Lissner
aff5cc5b28
Move file-exists-p! to core/autoload/files.el
2019-08-22 13:03:12 -04:00
Henrik Lissner
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
Henrik Lissner
2eb8035f15
Add more DEPRECATED tags
...
For Emacs 25 functionality that'll be removed when 25.x support is
dropped.
2019-08-19 21:04:11 -04:00
Henrik Lissner
2a3f95f615
Update line-number-display-width polyfill
...
It takes one argument in later versions of Emacs. This file really
shouldn't be visible to Emacs 25.x and earlier, but there has been one
case of it being indexed by Doom's autoload scanner.
Also marks the library with the new DEPRECATED tag. It will be removed
once Doom removes 25.x support.
2019-08-17 16:04:26 -04:00
Henrik Lissner
b2fd76cb49
Ensure straight is loaded on doom-initialize-packages
...
Without causing recursive require errors if called in an after! handler
for straight.
2019-08-15 19:56:20 -04:00
Henrik Lissner
4e016eb843
Merge pull request #1621 from ashtonbaker/fix-spelling
...
fix small spelling mistake in fonts.el
2019-08-15 15:02:17 -04:00
Henrik Lissner
374940b959
Persist scratch buffers more proactively
...
Prior to this change, scratch buffers were saved only when Emacs is
killed. In cases where Emacs doesn't die properly, you'd lose your
scratch contents. Now, they are persisted as soon as you close them.
2019-08-15 01:07:45 -04:00
Henrik Lissner
7ded14f548
Refactor scratch buffer init
2019-08-15 01:02:00 -04:00
Henrik Lissner
7d714b7531
Fix #1673 : restore project-file-exists-p! macro
2019-08-14 22:36:19 -04:00
Ashton Baker
aa3538591a
fix small spelling mistake in fonts.el
2019-08-12 14:47:39 -04:00
Henrik Lissner
48415edce3
Fix #1644 : --restore switch not recognized
2019-08-08 23:30:16 -04:00
Henrik Lissner
956b8cc532
Merge pull request #1619 from filalex77/fix-doom-reload-packages
...
Require straight.el in doom/reload-packages
2019-08-07 21:48:10 -04:00
Henrik Lissner
29e851da27
Try counsel-file-jump before project-find-file-in
...
The former is more reliable (and faster, with the fd/rg hack in the next
commit).
Also (hopefully) fixes the "cl-no-applicable-method: No applicable
method: project-roots" error emitted when project-find-file-in fails to
identify the target as a project root.
2019-08-06 19:43:38 -04:00