aboutsummaryrefslogtreecommitdiff
path: root/pearl.el
diff options
context:
space:
mode:
Diffstat (limited to 'pearl.el')
-rw-r--r--pearl.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/pearl.el b/pearl.el
index 20e4936..30557a4 100644
--- a/pearl.el
+++ b/pearl.el
@@ -2910,7 +2910,9 @@ just writing the file and leaving it off-screen."
(message "Updated Linear issues in %s with %d active issues"
org-file-path (length issues))
(let ((buf (find-file-noselect org-file-path)))
- (with-current-buffer buf (pearl--restore-page-visibility))
+ (with-current-buffer buf
+ (pearl--restore-page-visibility)
+ (pearl-highlight-comments))
(pearl--surface-buffer buf)))
;; Branch B: buffer exists and is clean -- replace contents in place.
@@ -2924,7 +2926,8 @@ just writing the file and leaving it off-screen."
(insert new-content)
(save-buffer)
(goto-char (min recorded-point (point-max)))
- (pearl--restore-page-visibility)))
+ (pearl--restore-page-visibility)
+ (pearl-highlight-comments)))
(message "Updated Linear issues in %s with %d active issues"
org-file-path (length issues))
(pearl--surface-buffer existing-buf))