aboutsummaryrefslogtreecommitdiffstats
path: root/oni-org/oni-org.el
diff options
context:
space:
mode:
Diffstat (limited to 'oni-org/oni-org.el')
-rw-r--r--oni-org/oni-org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el
index 0700376..362b781 100644
--- a/oni-org/oni-org.el
+++ b/oni-org/oni-org.el
@@ -113,7 +113,7 @@ installs it will always be ~."
This condition requires that the key used for the snippet is
located at the start of the line."
(setq-local yas-buffer-local-condition
- '(looking-back (rx "\n" (one-or-more (not space))))))
+ '(looking-back (rx line-start (one-or-more (not space))))))
(defun oni-org-setup-prettify-symbols-mode ()
"Set up prettify symbols mode for org mode."