Skip to content

Conversation

@nullman
Copy link

@nullman nullman commented Feb 7, 2024

Removed cursor-cache logic in org-present-read-write function as it conflicts with org-present-hide-cursor.

Removed cursor-cache logic in org-present-read-write function as it conflicts with org-present-hide-cursor.
@nullman
Copy link
Author

nullman commented Feb 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant