From 3bb2f32f4bafff5902702eb4bcadee3559cc8bf6 Mon Sep 17 00:00:00 2001 From: stardiviner Date: Fri, 7 Aug 2020 14:32:15 +0800 Subject: [PATCH] disable view-read-only in eaf-pdf-outline-mode read-only-mode --- eaf.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eaf.el b/eaf.el index ea90bde..0a2cecc 100644 --- a/eaf.el +++ b/eaf.el @@ -2176,7 +2176,8 @@ Make sure that your smartphone is connected to the same WiFi network as this com (butlast (split-string (buffer-string) "\n")))) (goto-line (seq-count (apply-partially #'>= page-number) toc)) (set (make-local-variable 'eaf-pdf-outline-original-buffer-name) buffer-name) - (read-only-mode 1) + (let ((view-read-only nil)) + (read-only-mode 1)) (eaf-pdf-outline-mode 1)) ;; Popup ouline buffer.