We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the document string of switch-to-buffer:
If BUFFER-OR-NAME is nil, switch to the buffer returned by `other-buffer'.
However, it fails when purpose mode is turned on.
The text was updated successfully, but these errors were encountered:
Thanks for the report, I will look into it. Can you describe how it fails?
Sorry, something went wrong.
(eval (switch-to-buffer nil)) just produces an error "Wrong type argument: stringp, nil". Normally it should switch to previous buffer.
(eval (switch-to-buffer nil))
I've found the problem and I'll push a fix later today or tomorrow. In the meantime you can use this advice:
(advice-add 'purpose-select-buffer :filter-args (lambda (args) (cons (window-normalize-buffer-to-switch-to (car args)) (cdr args))))
Fixed in 3820ff8
No branches or pull requests
In the document string of switch-to-buffer:
However, it fails when purpose mode is turned on.
The text was updated successfully, but these errors were encountered: