branch: externals/org-modern
commit 0cf27c5ef6185181bc796cb0497d7784837295b2
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Package-Requires: Specify Org mode version
---
 org-modern.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/org-modern.el b/org-modern.el
index 915ee639df..47cc97b50a 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -6,7 +6,7 @@
 ;; Maintainer: Daniel Mendler <m...@daniel-mendler.de>
 ;; Created: 2022
 ;; Version: 1.7
-;; Package-Requires: ((emacs "28.1") (compat "30"))
+;; Package-Requires: ((emacs "28.1") (org "9.5") (compat "30"))
 ;; URL: https://github.com/minad/org-modern
 ;; Keywords: outlines, hypermedia, text
 
@@ -818,7 +818,7 @@ whole buffer; otherwise, for the line at point."
           ,@(car specs))
          ("^\\([ \t]*\\)\\(#\\+\\(?:end\\|END\\)_\\)\\(\\S-+\\).*"
           ,@(cdr specs)))))
-   (when (fboundp 'org-activate-folds)
+   (when (fboundp 'org-activate-folds) ;; Since Org 9.7.25
      '(org-activate-folds))))
 
 ;;;###autoload

Reply via email to