[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 66f2f5ce43: Merge branch 'bugfix'
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 66f2f5ce43: Merge branch 'bugfix' |
Date: |
Sat, 10 Aug 2024 09:58:47 -0400 (EDT) |
branch: externals/org
commit 66f2f5ce43eaf6f743dbe4690d7de75974a7d381
Merge: 54af540af6 f9351456e7
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
Merge branch 'bugfix'
---
doc/org-guide.org | 2 +-
lisp/org-persist.el | 4 +++-
lisp/ox-html.el | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/doc/org-guide.org b/doc/org-guide.org
index b526f55ede..599707c15b 100644
--- a/doc/org-guide.org
+++ b/doc/org-guide.org
@@ -167,7 +167,7 @@ visibility in the buffer.
Show all, including drawers.
When Emacs first visits an Org file, the global state is set to
-OVERVIEW, i.e., only the top level headlines are visible. This can be
+~showeverything~, i.e., all file content is visible. This can be
configured through the variable ~org-startup-folded~, or on a per-file
basis by adding a =STARTUP= keyword to =overview=, =content=,
=showall=, =showeverything= or =show<n>levels= (n = 2..5) like this:
diff --git a/lisp/org-persist.el b/lisp/org-persist.el
index 4128260d5e..8114fd5b9a 100644
--- a/lisp/org-persist.el
+++ b/lisp/org-persist.el
@@ -448,6 +448,8 @@ FORMAT and ARGS are passed to `message'."
buffer-or-file (error-message-string err)))
nil)))))
+;; FIXME: `pp' is very slow when writing even moderately large datasets
+;; We should probably drop it or find some fast formatter.
(defun org-persist--write-elisp-file (file data &optional no-circular pp)
"Write elisp DATA to FILE."
;; Fsync slightly reduces the chance of an incomplete filesystem
@@ -915,7 +917,7 @@ Otherwise, return t."
(let ((index-file
(org-file-name-concat org-persist-directory
org-persist-index-file)))
(org-persist--merge-index-with-disk)
- (org-persist--write-elisp-file index-file org-persist--index t t)
+ (org-persist--write-elisp-file index-file org-persist--index t)
(setq org-persist--index-age
(file-attribute-modification-time (file-attributes index-file)))
index-file)))
diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 3de1ccc3e6..95b154dc5f 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -2364,7 +2364,7 @@ is the language used for CODE, as a string, or nil."
((not (progn (require 'htmlize nil t)
(fboundp 'htmlize-region-for-paste)))
;; Emit a warning.
- (warn "Cannot fontify source block (htmlize.el >= 1.34 required)")
+ (warn "Cannot fontify source block (htmlize.el >= 1.34 required).
Falling back to plain text. (see `org-html-htmlize-output-type')")
(org-html-encode-plain-text code))
(t
;; Map language