From 37d2aabcbbdd34a0b13da62fedad59b30d225041 Mon Sep 17 00:00:00 2001 From: Leon Rische Date: Sun, 14 May 2023 12:56:47 +0200 Subject: Set buffer to read-only in `org-fc-demo` --- org-fc-core.el | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3