]> git.eshelyaron.com Git - emacs.git/commit
project.el: Fix bug in project-ignores method for VC-aware backend
authorDamien Cassou <damien@cassou.me>
Sat, 2 Sep 2023 16:08:49 +0000 (18:08 +0200)
committerDmitry Gutov <dmitry@gutov.dev>
Sun, 3 Sep 2023 00:12:23 +0000 (03:12 +0300)
commitc640e978874385f9774c2903b97677406bee97a2
tree42db0487101f55174bfbd99842416d7c4cb02990
parent781c03933eff38ab4db8ad08a54e8a235d33d861
project.el: Fix bug in project-ignores method for VC-aware backend

The variable `backend' was always nil preventing the 25-line long
`when' block from doing anything.  This bug was introduced in commit
785fa801596ad7bb9f838cac865f00de29e253d1 "New user option:
project-vc-extra-root-markers". (Bug#65704)

* lisp/progmodes/project.el (project-ignores): Make sure the variable
is initialized, so that backend-specific code is used if any.
lisp/progmodes/project.el