mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-11 17:31:35 -07:00
Fix arguments to project--buffer-check when reading a project buffer
* lisp/progmodes/project.el (project--read-project-buffer): Pass the buffer object to `project--buffer-check', not the (BUF-NAME . BUF-OBJ) cons.
This commit is contained in:
parent
0be64b2f25
commit
27af6bfdfb
1 changed files with 4 additions and 4 deletions
|
|
@ -1863,10 +1863,10 @@ Return non-nil if PROJECT is not a remote project."
|
|||
(predicate
|
||||
(lambda (buffer)
|
||||
;; BUFFER is an entry (BUF-NAME . BUF-OBJ) of Vbuffer_alist.
|
||||
(and (memq (cdr buffer) buffers)
|
||||
(not
|
||||
(project--buffer-check
|
||||
buffer project-ignore-buffer-conditions)))))
|
||||
(setq buffer (cdr buffer))
|
||||
(and (memq buffer buffers)
|
||||
(not (project--buffer-check
|
||||
buffer project-ignore-buffer-conditions)))))
|
||||
(completion-ignore-case read-buffer-completion-ignore-case)
|
||||
(buffers-alist
|
||||
(if (and (fboundp 'uniquify-get-unique-names)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue