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

allow mu4e--compose-switch-function to do nothing #2643

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mu4e/mu4e-compose.el
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ A symbol:
- nil : default (new buffer)
- window : compose in new window
- frame or t: compose in new frame
- nowhere : do nothing (let a later display-buffer call decide)

For backward compatibility with `mu4e-compose-in-new-frame', t is
treated as =\\'frame."
Expand Down Expand Up @@ -643,6 +644,7 @@ Based on the value of `mu4e-compose-switch'."
('nil #'switch-to-buffer)
('window #'switch-to-buffer-other-window)
((or 'frame 't) #'switch-to-buffer-other-frame)
('nowhere (lambda (buffer-or-name)))
;; t for backward compatibility with mu4e-compose-in-new-frame
(_ (mu4e-error "Invalid mu4e-compose-switch"))))

Expand Down
Loading