fe6a9b0cd8
ui/popup: tie +defaults flag to +hacks
2018-06-15 22:13:44 +02:00
cdcc4eec5d
Refactor +helm*replace-prompt
...
In case +helm-global-prompt is nil, which will effectively disable this
advice.
2018-06-15 22:10:40 +02:00
ef90633432
Fix docset lookup & lazyload *-dash
...
Have to forward declare *-dash-docsets so we can lazy load the *-dash
libraries.
Also fixes a void-variable error because helm-dash-docsets isn't defined
by helm-dash, just used.
2018-06-15 21:42:38 +02:00
4856217c84
Set default ispell-dictionary
...
Prevents wrong-type-argument stringp errors when starting flyspell-mode.
2018-06-15 21:25:32 +02:00
4a0b98ef1c
lang/latex: fix removal of master file prompt
...
It makes me sad that this is necessary. Friends don't let friends use
anonymous functions for their package's hooks.
2018-06-15 21:16:37 +02:00
9e85acec2c
Append flyspell-mode to LaTeX-mode-hook #654
...
If run too soon, the user has no opportunity to change
+spellcheck-immediately.
2018-06-15 21:00:38 +02:00
d0abe742f9
Don't set ispell-program-name
...
ispell already looks for aspell, ispell, and hunspell on initialization.
2018-06-15 20:52:00 +02:00
4d017ae19e
Replace :yas-minor-mode with set-yas-minor-mode!
2018-06-15 18:03:50 +02:00
ab9b8d97bc
Replace :rotate with set-rotate-patterns! autodef
...
And its references.
2018-06-15 18:03:50 +02:00
8ca88aba9e
Replace :email with set-email-account! autodef
2018-06-15 18:03:50 +02:00
c0251aacee
Replace :lookup with set-lookup-handlers! autodef
...
And update all internal references.
2018-06-15 17:27:48 +02:00
bfdc00cf42
Prevent tide-mode error when node isn't installed
...
This error prevents you from opening js files.
2018-06-15 17:15:25 +02:00
c3d3638832
Fix js defvaralias errors in Emacs 27
...
In later versions of Emacs, if a var alias is created *after* it has
been assigned a value, an error is thrown. This prevents the user from
opening js files.
2018-06-15 17:12:54 +02:00
f81a0e6f41
Remove redundant def-setting! docstrings
...
def-setting! will now grab the autodef's docstring if it has an
:obsolete property defined.
2018-06-15 16:54:39 +02:00
51aa60d67d
Fix set-electric! complaining about :char
...
A typo! Should be :chars
2018-06-15 16:50:39 +02:00
e63be83298
Bind SPC f X to doom/delete-this-file
2018-06-15 16:20:20 +02:00
d588332aa0
Fix SPC TAB leader prefix not being recognized
...
Due to a TAB => [tab] remap later in config/default.
2018-06-15 16:20:20 +02:00
9e54e393ea
Use new evil-collection blacklist instead of hook
2018-06-15 16:20:20 +02:00
588359cc5f
Replace :eval/:repl with autodef functions
...
+ :eval => set-eval-handler!
+ :repl => set-repl-handler!
+ Updates all internal references.
2018-06-15 16:20:20 +02:00
a500bfb0a0
Rewrite+rename describe-settings->describe-setters
...
Will now list autodefs instead of def-settings, including an origin
module label to tell you where it comes from at a glance.
2018-06-15 16:20:20 +02:00
7b1db08ea2
Replace :devdocs with set-devdocs! autodef
2018-06-15 16:20:20 +02:00
b99ab59578
Replace :docset with set-docset! autodef
2018-06-15 16:20:20 +02:00
cccccbb3fd
set-electric!: fix & improve error handling
2018-06-15 16:20:20 +02:00
c22b3da9f9
Move emacs/electric-indent to emacs/electric
...
This module will later be expanded to customize more of electric's
functionality.
2018-06-15 16:20:20 +02:00
9f0ebe42e8
Replace :electric with set-electric-rules!
...
And general refactor of the emacs/electric-indent module.
Also updates (set! :electric ...) references in various :lang modules
2018-06-15 13:32:07 +02:00
f801939ce7
test-evil: load :feature evil module
2018-06-15 04:46:13 +02:00
5a427b1c2b
Move custom evil arg types back to config.el
...
No need to autoload that.
2018-06-15 04:45:09 +02:00
cbb5b2ed7d
Fix unknown interactive code error in evil tests
2018-06-15 04:03:22 +02:00
0ef522bbf2
tools/pdf: close annotation lists when killing pdf
2018-06-15 03:42:01 +02:00
eaca8c58fa
Move unit tests from ert to buttercup
...
Easier to organize and write. Now I can hopefully strive for better
coverage!
2018-06-15 03:42:01 +02:00
98d2f1de3f
Add set-env! autodef; make :env obsolete
2018-06-15 03:42:01 +02:00
3b0fad871f
Add :lang common-lisp doctor
2018-06-15 03:42:01 +02:00
2023aac314
Add +treemacs/toggle command
2018-06-15 03:42:01 +02:00
2496e0348d
Add :when support to after!
...
This lets you delay a body of code until an arbitrary condition is
met (which is checked whenever a file is loaded).
Also refactors set-file-template! to wait until +file-templates-alist is
defined.
2018-06-15 03:42:01 +02:00
d8b1e469bc
Introduce autodefs to replace some settings
...
+ :popup -> set-popup-rule!
+ :popups -> set-popup-rules!
+ :company-backend -> set-company-backend!
+ :evil-state -> set-evil-initial-state!
I am slowly phasing out the setting system (def-setting! and set!),
starting with these.
What are autodefs? These are functions that are always defined, whether
or not their respective modules are enabled. However, when their modules
are disabled, they are replaced with macros that no-op and don't
waste time evaluating their arguments.
The old set! function will still work, for a while.
2018-06-15 03:42:01 +02:00
6693db48af
Mark +org-dir obsolete (use org-directory instead)
...
I prefer not to invent new variables when they aren't strictly
necessary. org-directory is one such variable (although the other path
variables are still necessary).
2018-06-15 01:05:22 +02:00
40e4c872f4
Remove redundant eshell-error-if-no-glob setting
2018-06-14 23:40:08 +02:00
209f33c12e
Refactor tools/eshell
...
Make eshell-directory-name easier to customize & remove unnecessary
def-package! block.
2018-06-14 23:36:42 +02:00
6fe0017e24
Add popup hacks for pdf-tools' annot list windows
...
Annotations are displayed in stacked windows to the left of the pdf.
Thanks to @UndeadKernel for help figuring this out.
2018-06-14 19:55:36 +02:00
0020631b2e
Fontify autodef/if cookies & *! symbols in elisp
2018-06-14 19:52:15 +02:00
b2b6ff67f2
Prevent treemacs from creating ~/.emacs.d/.cache
...
Alexander-Miller/treemacs#212 introduced treemacs-persist-file, which we
now use instead of tools/treemacs' old treemacs-persistence hack (which
didn't work).
Relevant to #669
2018-06-14 14:03:10 +02:00
5b78cf7ed6
tools/editorconfig: conform to name conventions
...
Renamed doom-editorconfig-mode-alist to +editorconfig-mode-alist
2018-06-14 03:36:46 +02:00
36171f5b33
Fix :after-call deferred packages not loading
...
If you open emacs with a file (emacs file.txt), the file is switched to
before the switch-buffer hooks are set up. However, many core packages
are hooked to those switch-buffer hooks (to load when they're first
triggered). They miss the boat and don't get loaded.
These packages are now hooked onto after-find-file as well (and
immediately), which will fire when a file is opened, before or after
initialization.
Fixes #680
2018-06-14 03:36:46 +02:00
1f07b37c9c
Fix elusive back-to-top-level error
...
These occurred because of disruptive kill-buffer-hooks running when the
backtrace buffer was auto-killed by the popup cleanup system. No more!
2018-06-14 00:45:57 +02:00
6a6652d394
lang/common-lisp: replace slime with sly
...
Also add sly server auto-start and cleanup hooks.
2018-06-13 22:14:22 +02:00
8889d5cc2b
Add :lang common-lisp
2018-06-13 20:10:37 +02:00
6426da3533
Fix :hook modes for parinfer-mode
2018-06-13 16:53:44 +02:00
f74d595e17
Merge pull request #678 from ar1a/wakatime-interactive
...
Make +wakatime-init interactive
2018-06-13 16:53:09 +02:00
000dee7abf
Upstream changes to wakatime
2018-06-13 09:50:09 +10:00
63a8c30765
Merge pull request #670 from ar1a/parinfer
...
:editor parinfer for lisp editing
2018-06-12 21:36:46 +02:00