diff options
author | Leon Rische <leon.rische@me.com> | 2023-05-14 12:56:47 +0200 |
---|---|---|
committer | Leon Rische <leon.rische@me.com> | 2023-05-14 12:56:47 +0200 |
commit | 37d2aabcbbdd34a0b13da62fedad59b30d225041 (patch) | |
tree | 854e765b75288d339e6d4383cf3c773574405ba9 | |
parent | 1ce66c21dc131e6059b524a422db5c85256a90f6 (diff) |
Set buffer to read-only in `org-fc-demo`
-rw-r--r-- | org-fc-core.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/org-fc-core.el b/org-fc-core.el index 1b6a608..e9c6863 100644 --- a/org-fc-core.el +++ b/org-fc-core.el @@ -664,6 +664,8 @@ Positions are shuffled in a way that preserves the order of the (interactive) (let ((path (expand-file-name "demo.org" org-fc-source-path))) (with-current-buffer (find-file path) + ;; Prevent any changes to the demo file + (read-only-mode 1) (org-fc-review-buffer)))) ;;; Contexts |