org-present
org-present copied to clipboard
fix-cursor-cache-bug
Removed cursor-cache logic in org-present-read-write function as it conflicts with org-present-hide-cursor.
This bug can be reproduced using the following hooks:
(defun custom-org-present-mode-hook ()
"Customizations for entering `org-present-mode'."
(org-present-hide-cursor)
(org-present-read-only))
(add-hook 'org-present-mode-hook #'custom-org-present-mode-hook)
(defun custom-org-present-mode-quit-hook ()
"Customizations for exiting `org-present-mode'."
(org-present-show-cursor)
(org-present-read-write))
(add-hook 'org-present-mode-quit-hook #'custom-org-present-mode-quit-hook)
With the above, the cursor remains hidden after leaving present-mode.