Commit graph

11 commits

Author SHA1 Message Date
Henrik Lissner
09d13fd60d
Use add-hook! for inline hook defuns 2019-07-27 02:46:49 +02:00
Henrik Lissner
76cacb5bfe
💥 Rename def-package! -> use-package!
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.

Also changes def-package-hook! -> use-package-hook!

The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
Henrik Lissner
8147bc1aee
💥 lang/org: conform to new name conventions 2019-07-22 02:30:38 +02:00
Henrik Lissner
aeb5cca727
Fix ob-ipython popup rule affecting python REPL 2019-07-11 01:23:34 +02:00
Henrik Lissner
da0b11d0f5
Fix ob-ipython popup rule
:transient property was removed long ago.
2019-07-10 22:26:40 +02:00
Henrik Lissner
30e14d7681
Use python lexer when exporting ipython blocks 2019-07-10 22:26:03 +02:00
Henrik Lissner
afdec75cbc
lang/org: refactor ob-ipython advice 2019-07-10 21:50:54 +02:00
Henrik Lissner
eee147f6f3
lang/org: fix ipython unfontified src blocks #1553 2019-07-10 19:00:41 +02:00
Henrik Lissner
468e630110
lang/org: refactor contrib modules
- Fix #1546
- Ensure contrib modules aren't included in byte-compilation/autoload
  generation if their requisite flags aren't enabled
2019-07-09 22:44:51 +02:00
Henrik Lissner
92dd66f736
lang/org: refactor & reformat
To ensure that users' after! blocks have precendence over org packages
in sub-modules.
2019-07-08 22:08:59 +02:00
Henrik Lissner
11bfb17894
lang/org: major refactor
The motivation for this change was to rethink lang/org's flags. Many of
its former flags represented non-features. Therefore, its flags have
been reduced to five: +dragndrop, +ipython, +pandoc, +gnuplot and
+present. Everything else is included as org-load-hooks and treated as
reasonable defaults.

Other changes:
- Fixes #1502: don't autopair certain pairs when in a math region
- Fixes #1483: broken localleader in org-agenda
- Adds gnuplot support #1108
- Doom's org submodules have been moved into lang/org/contrib/, because
  I expect there will be *many* more to come, and I don't want to
  pollute the moudle's root.
2019-06-28 17:28:28 +02:00