Skip to content

Conversation

shrimpram
Copy link
Contributor

Currently users are able to modify the calendar buffer, this can lead to situations where they might accidentally delete parts of the calendar and leave it unusable. Emacs' org mode calendar works a bit differently but it is not editable either. Setting the calendar buffer as not modifiable after rendering it solves the issue.

Users should not be able to modify the calendar popup buffer. This sets
modifiable as false for the buffer after rendering it.
@kristijanhusak
Copy link
Member

I don't know how I missed that. Thanks!

@kristijanhusak kristijanhusak merged commit b76cf61 into nvim-orgmode:master Jul 28, 2021
gzagatti pushed a commit to gzagatti/orgmode that referenced this pull request Oct 19, 2022
Set calendar buffer as nonmodifiable
SlayerOfTheBad pushed a commit to SlayerOfTheBad/orgmode that referenced this pull request Aug 16, 2024
Set calendar buffer as nonmodifiable
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.

2 participants