Merge pull request #373 from stardiviner/view-read-only

Fix #362 disable view-read-only in eaf-pdf-outline-mode read-only-mode
master
Matthew Zeng 6 years ago committed by GitHub
commit 072f71d72c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      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.

Loading…
Cancel
Save