-
Notifications
You must be signed in to change notification settings - Fork 33
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
C-x p b
does not work on Emacs master (28.0.50)
#159
Comments
Thanks! Can you try to get the backtrace of the first error by using |
If it helps, on Emacs 28, this is what I get when running the following code from (let* ((pr (project-current t))
(current-buffer (current-buffer))
(other-buffer (other-buffer current-buffer))
(other-name (buffer-name other-buffer))
(predicate
(lambda (buffer)
;; BUFFER is an entry (BUF-NAME . BUF-OBJ) of Vbuffer_alist.
(and (cdr buffer)
(equal pr
(with-current-buffer (cdr buffer)
(project-current)))))))
(switch-to-buffer
(read-buffer
"Switch to buffer: "
(when (funcall predicate (cons other-name other-buffer))
other-name)
nil
predicate)))
|
|
Thanks the problem is the predicate expects a cons see #161. This problem also exists before Emacs 28, the format doesn't seem to be properly documented (at least in Emacs 26.3). Can you confirm it's fixed for you? |
It worked. Thanks for the fast fix. |
In
*Messages*
buffer:The prompt does show up even with the above error message but gives another error after I press return on the prompt. The backtrace after pressing return is as follows:
The text was updated successfully, but these errors were encountered: