diff options
author | Alan Pearce | 2017-06-25 21:10:04 +0200 |
---|---|---|
committer | Alan Pearce | 2017-06-25 21:10:04 +0200 |
commit | f25836751e28eb56bf9df6e6b3cc5b08a6e1215b (patch) | |
tree | 324cb8a447acf651a22006098d762412cdd278f4 /emacs/.emacs.d/init.org | |
parent | 25ee213cb3c97ef29431619951596e22e06fe192 (diff) | |
download | nixfiles-f25836751e28eb56bf9df6e6b3cc5b08a6e1215b.tar.lz nixfiles-f25836751e28eb56bf9df6e6b3cc5b08a6e1215b.tar.zst nixfiles-f25836751e28eb56bf9df6e6b3cc5b08a6e1215b.zip |
Emacs: Make org-journal mode nicer to work in
Diffstat (limited to 'emacs/.emacs.d/init.org')
-rw-r--r-- | emacs/.emacs.d/init.org | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 8cc0a7c3..301e18ad 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -214,7 +214,7 @@ because I manage those in my [[file:~/projects/dotfiles/tag-xresources/xresource (defun use-variable-fonts () (interactive) (variable-pitch-mode) - (setq cursor-type 'bar)) + (setq cursor-type '(bar . 1))) (defun ap/set-fonts (mono-face mono-font-size variable-face variable-font-size antialias &optional new-line-spacing) (if (boundp 'ns-antialias-text) @@ -1807,6 +1807,14 @@ I can use this to keep a journal. I should use it. :config (progn (setq org-journal-date-format "%A, %d %B %Y" org-journal-dir "~/Sync/Default/Documents/journal") + + (define-hook-helper org-journal-mode () + (use-variable-fonts) + (text-scale-adjust 4) + (if smartparens-strict-mode + (smartparens-strict-mode -1)) + (if show-smartparens-mode + (show-smartparens-mode -1))) (defun org-journal-display-entry-yesterday () "Show org-journal entry for yesterday" (interactive) |