aboutsummaryrefslogtreecommitdiff
path: root/lisp/seam.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/seam.el')
-rw-r--r--lisp/seam.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/seam.el b/lisp/seam.el
index d8e8138..201bbdf 100644
--- a/lisp/seam.el
+++ b/lisp/seam.el
@@ -157,7 +157,7 @@ naming. Must be a function taking two arguments: TITLE and TYPE."
(widen)
(goto-char 1)
(ignore-errors
- (re-search-forward (org-headline-re 1))
+ (re-search-forward "^\\* ")
(let ((start (point)))
(end-of-line)
(let ((title (string-trim (buffer-substring-no-properties start (point)))))
@@ -176,7 +176,7 @@ naming. Must be a function taking two arguments: TITLE and TYPE."
(widen)
(goto-char 1)
(ignore-errors
- (re-search-forward (org-headline-re 1))
+ (re-search-forward "^\\* ")
(org-element-property :SEAM_SLUG (org-element-at-point))))))
(seam-slugify (seam-get-title-from-buffer buffer))))