Commit Graph

13 Commits

Author SHA1 Message Date
Henrik Lissner
77510ed2d8
app/write: monospaced indentation in org 2018-10-06 20:44:25 -04:00
Edwin Török
58dd73030c +write-mode: initialization functions were not run
setting +write-mode-hook had no effect because +write-mode-hook was not
defined yet, it is only defined by the minor mode definition inside
autoload.el (which didn't get autoloaded yet).

Due to this when activating `+write-mode` the `mixed-pitch-mode` did not
get activated.

Fix this by moving these all to autoload.

Signed-off-by: Edwin Török <edwin@etorok.net>
2018-10-03 23:03:11 +01:00
Henrik Lissner
7d3ffdff06
Remove third line in section headers
This is truly important stuff. We've saved many lives with this update.
2018-09-09 09:58:19 -04:00
Henrik Lissner
4f671c3acb
Fix stringp error caused by app/write's doctor
Caused by langtool-langauge-tool-jar not being set (because defvar won't
change a defined variable), and app/write/doctor.el uses it in a
file-exists-p call, which throws the stringp error if given anything
other than a string.
2018-08-25 20:58:42 +02:00
Henrik Lissner
a7da9a4738
💥 Rewrite line numbers system for Emacs 25
This removes the various doom-line-number* variables and replaces it
with the Emacs 26 display-line-numbers API, which I've ported to Emacs
25.x (however, it uses nlinum under the hood, and not all of
display-line-numbers options are supported).
2018-08-21 03:34:39 +02:00
Henrik Lissner
9079fdd9ec
app/write: fix +write-mode not disabling other modes 2018-07-31 19:11:41 +02:00
Henrik Lissner
0a746bdf1e
app/write: fixed-pitch for org-todo & line numbers 2018-07-31 19:11:10 +02:00
Henrik Lissner
a7bef8ec88
app/write: refactor
Removed autoloads that are already defined by packages.
2018-07-31 18:41:34 +02:00
Henrik Lissner
8f3f31bac8
Fix hardcoded language-tool path on MacOS
Reported by @jwintz
2018-06-26 18:58:07 +02:00
Henrik Lissner
2d9fb67903
app/write: minor refactor (use :when instead of when) 2018-04-28 16:12:22 -04:00
Henrik Lissner
bac73ec938
Replace warn => warn! 2018-02-14 07:46:38 -05:00
Henrik Lissner
3080b68c84
app/write: major refactor+rewrite
+ Make synosaurus unconditional
+ Move much of +write-mode into its hook
+ Conform README.org to template and expand it
+ Try to guess langtool-language-tool-jar
+ Update init.example.el entry
+ Remove redundant variables
+ Add +write-text-scale & +text-line-spacing variables
2018-02-13 17:50:58 -05:00
fuxialexander
562b8ba431 Add: extend +write module 2018-02-11 17:04:30 +08:00