[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-modern 905a601796: Use without-restriction
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-modern 905a601796: Use without-restriction |
Date: |
Wed, 16 Aug 2023 18:58:24 -0400 (EDT) |
branch: externals/org-modern
commit 905a601796d02283e94a603b6011a537ee7e6090
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Use without-restriction
---
org-modern.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/org-modern.el b/org-modern.el
index 0416a6e644..e253451f72 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -796,8 +796,7 @@ the font.")
(remove-hook 'pre-redisplay-functions #'org-modern--pre-redisplay 'local)
(remove-hook 'org-after-promote-entry-hook #'org-modern--unfontify-line
'local)
(remove-hook 'org-after-demote-entry-hook #'org-modern--unfontify-line
'local)))
- (save-restriction
- (widen)
+ (without-restriction
(with-silent-modifications
(org-modern--unfontify (point-min) (point-max)))
(font-lock-flush)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/org-modern 905a601796: Use without-restriction,
ELPA Syncer <=