Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(view-mode): use #'View-quit #833

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

gekoke
Copy link
Contributor

@gekoke gekoke commented Aug 26, 2024

view-mode itself recommends using this function to quit the mode in
in a message in its source code:

View mode: type \\[help-command] for help, \\[describe-mode] for commands, \\[View-quit] to quit.

Using #'quit-window does not work as expected when viewing a diff using view-mode for a buffer in a save prompt in magit: #'quit-window breaks the prompting sequence, whilst #'View-quit doesn't.

view-mode itself recommends using this function to quit the mode in
in a message in its source code:

```
View mode: type \\[help-command] for help, \\[describe-mode] for commands, \\[View-quit] to quit.
```

Using `#'quit-window` does not work as expected when viewing a diff
using view-mode for a buffer in a save prompt in magit:
`#'quit-window` breaks the prompting sequence, whilst `#'View-quit` doesn't.
@condy0919
Copy link
Collaborator

Thanks.

@condy0919 condy0919 merged commit 6365e7c into emacs-evil:master Aug 27, 2024
12 checks passed
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