summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-06-25 21:10:04 +0200
committerAlan Pearce2017-06-25 21:10:04 +0200
commitf25836751e28eb56bf9df6e6b3cc5b08a6e1215b (patch)
tree324cb8a447acf651a22006098d762412cdd278f4 /emacs
parent25ee213cb3c97ef29431619951596e22e06fe192 (diff)
downloaddotfiles-f25836751e28eb56bf9df6e6b3cc5b08a6e1215b.tar.lz
dotfiles-f25836751e28eb56bf9df6e6b3cc5b08a6e1215b.tar.zst
dotfiles-f25836751e28eb56bf9df6e6b3cc5b08a6e1215b.zip
Emacs: Make org-journal mode nicer to work in
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org10
1 files changed, 9 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 8cc0a7c..301e18a 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)