branch: externals/gnosis
commit 67a90778fb41b54f4cac69929e79db2324c3a03e
Author: Thanos Apollo <[email protected]>
Commit: Thanos Apollo <[email protected]>

    [fix] export--insert-thema: insert read-only as rear-nonsticky.
    
    * Fixes export issue for gnosis-export-thema from dashboard.
---
 gnosis.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnosis.el b/gnosis.el
index 2f00b3e067..caa53d22a6 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1806,7 +1806,8 @@ EXAMPLE: Boolean value, if non-nil do not add properties 
for thema."
     (unless example
       (let ((start (point)))
         (insert ":PROPERTIES:\n:GNOSIS_ID: " id "\n:GNOSIS_TYPE: " type 
"\n:END:\n")
-        (add-text-properties start (point) '(read-only t))))
+        (add-text-properties start (point)
+                           '(read-only t rear-nonsticky (read-only)))))
     (dolist (comp components)
       (goto-char (point-max))
       (gnosis-export--insert-read-only (car comp))

Reply via email to