summaryrefslogtreecommitdiff
path: root/seam.el
diff options
context:
space:
mode:
authorSpencer Williams <spnw@plexwave.org>2025-03-26 17:39:06 -0400
committerSpencer Williams <spnw@plexwave.org>2025-03-26 17:39:06 -0400
commit65364b65f2172bd2189b34d741a56a7bdc28d17b (patch)
tree129e65ecb8631dd4443362e5a89efb63cf14afe7 /seam.el
parentc775b16b846af22caba7bcc29f19afe3e0a1a15c (diff)
Fix incorrect titles due to buffer narrowing
Diffstat (limited to 'seam.el')
-rw-r--r--seam.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/seam.el b/seam.el
index 564056c..e60027c 100644
--- a/seam.el
+++ b/seam.el
@@ -151,6 +151,7 @@ naming. Must be a function taking two arguments: TITLE and TYPE."
(with-current-buffer buffer
(save-mark-and-excursion
(save-restriction
+ (widen)
(goto-char 1)
(ignore-errors
(re-search-forward (org-headline-re 1))