Commit Graph

1810 Commits

Author SHA1 Message Date
5e393b3233 Ensure module state is initialized on make test 2017-08-09 15:30:42 +02:00
4addd92c30 Simplify core loading process (part 3) 2017-08-08 19:14:10 +02:00
c021d347d3 Refactor module pairs and paths helpers 2017-08-08 16:38:17 +02:00
87ee1a06e3 Remove def-feature! (keep things simple!)
Removed syntactic sugar macro because it just hides obvious
functionality behind magic.
2017-08-08 16:38:17 +02:00
ac05f9a763 Remove wildcard support from doom! macro
"Explicit is better than implicit."
2017-08-08 16:38:17 +02:00
0b7b8800a2 Add support for module flags in doom! macro #158
For example:

  (doom! :feature (version-control +git))

I leave it to modules to interpret these flags, and they can be detected
through one of the following:

 + (featurep! :feature version-control +git)
 + (featurep! +git) -- syntactic sugar, only available from within
   modules.
 + (doom-module-flags :feature version-control) -- returns a list of
   flags for this module.

Flags are also available from packages.el files.
2017-08-08 16:38:17 +02:00
6e8726a624 Simplify core loading process (part 2) 2017-08-08 16:31:48 +02:00
65748c5809 Simplify core loading process 2017-08-08 14:25:36 +02:00
5e1ece4291 test/autoload/buffers: fix dead buffers in buffer-list 2017-08-08 14:09:49 +02:00
85c28444b3 General cleanup & refactor 2017-08-06 16:30:53 +02:00
0ad96a4100 Switch to fallback buffer on kill-all-buffers 2017-08-04 22:36:06 +02:00
a63640b120 Force interactive when running tests 2017-07-29 00:30:42 +02:00
7e4a0dbe95 Try to prevent wrong-type-argument font-spec error
Addresses #164, #165
2017-07-28 19:54:31 +02:00
5346670ab0 Add doom/recompile-packages (make compile:elpa)
If you upgrade (or downgrade) Emacs, there may be byte-compilation
errors. This works around that.
2017-07-28 19:21:00 +02:00
efb1e916e4 Refactor core-keybinds 2017-07-27 19:10:01 +02:00
5057db93f1 Replace :L state with :local flag in map!
Fixes #162
2017-07-27 19:09:33 +02:00
6f5b853cc2 Silent init hooks if noninteractive 2017-07-27 00:01:55 +02:00
dd947b5eae Refactor core-editor 2017-07-26 18:49:14 +02:00
4c1f42de81 Refactor core-projects
Relevant to #161
2017-07-26 18:43:10 +02:00
aa255d9cb6 Revert "Refactor doom-initialize-packages"
This reverts commit ea4d0a50cb.

Fixes #148
2017-07-26 17:07:10 +02:00
10bae5a835 Fix: core/projects: don't overwrite projectile-globally-ignored-directories 2017-07-21 17:11:51 +02:00
903f5b1a80 New function: doom|disable-vi-tilde-fringe 2017-07-19 00:25:05 +02:00
e6658b7d8e General minor refactor 2017-07-19 00:25:05 +02:00
f2d8681ef4 Refactor line number implementation
+ Add relative line number support (see doom-line-numbers-style)
+ Update doom/toggle-line-numbers
+ New hook functions: doom|enable-line-numbers,
  doom|disable-line-numbers

Addresses #156
2017-07-19 00:25:05 +02:00
439bbe64fa Add doom|enable-delete-trailing-whitespace 2017-07-17 12:01:45 +02:00
d6762bc893 Add undo-tree to core/packages.el #149 2017-07-14 23:09:48 +02:00
f0fc5c5281 doom/compile: don't count excluded test files 2017-07-14 19:49:54 +02:00
233134a6da Refactor doom init 2017-07-14 18:19:52 +02:00
6a5bd216e5 Appease byte-compiler senpai 2017-07-14 18:19:08 +02:00
ac514d7a0c [Hotfix] Fix doom-initialize-packages #147
Caused by incomplete initialization of Doom core when
doom-initialize-packages is used from noninteractive commands.
2017-07-14 18:14:23 +02:00
4454226a42 v2.0.4 bump + update README 2017-07-14 15:27:36 +02:00
c50dc63854 General cleanup 2017-07-14 15:23:12 +02:00
59544391f2 Refactor doom-get-packages
Adds an INSTALLED-ONLY-P argument to doom-get-packages.

Fixes a missing-package error when doom-get-outdated-packages iterates
over packages that aren't installed.

Plus, updated unit tests.
2017-07-14 15:16:32 +02:00
ea4d0a50cb Refactor doom-initialize-packages
It reloaded Doom too aggressively. No more.
2017-07-13 00:05:30 +02:00
f93fb61f33 Refactor core.el
+ Load Doom core in doom! macro
+ Move automatic minor modes to core-editor
+ Move doom*set-indirect-buffer-filename to core-editor
2017-07-13 00:05:30 +02:00
fa981ffd3c Enable shackle-mode later in startup process 2017-07-13 00:00:35 +02:00
64aa0fef4d Appease byte-compiler 2017-07-13 00:00:35 +02:00
4acfe3742b Less 'nowhere to go' spam on doom/kill-this-buffer 2017-07-13 00:00:34 +02:00
c0bfaec9d4 Add display-line-numbers support in Emacs 26 #59 2017-07-12 23:59:38 +02:00
e87d278811 Remove (interactive) from non-interactive funcs 2017-07-12 14:59:00 +02:00
9c7e431de7 Refactor doom-popup-size (cond -> pcase) 2017-07-11 01:08:30 +02:00
d6133adef0 Refactor doom-popup-prop (cond -> pcase) 2017-07-11 01:06:26 +02:00
65696cebf6 Fix wrong-type-argument: bufferp error on ESC 2017-07-11 01:06:10 +02:00
e906b20400 Revert 8edba655: disable undo persistence
It doesn't fix the undo corruption bug.
2017-07-11 00:40:29 +02:00
1ff0c2a8e7 doom/clean-compiled => doom/clean-compiled-files 2017-07-09 22:52:28 +02:00
27b344b64a Rename doom/clean-cache => doom/reset (+ make reset) 2017-07-09 22:51:36 +02:00
f40ebf9725 Minor docstring updates 2017-07-09 02:14:45 +02:00
9a74124ede Add lang/plantuml 2017-07-08 23:39:03 +02:00
aba1dbce55 Add doom-set-buffer-real fn & doom-real-buffer-p var 2017-07-08 21:08:14 +02:00
99b6274b03 New command: doom/other-popup #141
Like other-window, but for doom popups. Also bound this to `C-x p` in
private module.
2017-07-06 17:46:06 +02:00