]> git.eshelyaron.com Git - emacs.git/commit
project-try-vc: Fix the "sometimes wrong cache" issue
authorDmitry Gutov <dmitry@gutov.dev>
Mon, 28 Oct 2024 03:53:16 +0000 (05:53 +0200)
committerEshel Yaron <me@eshelyaron.com>
Tue, 29 Oct 2024 09:56:54 +0000 (10:56 +0100)
commitdb910fefaabdc2566600fc4bd214e0d031523fd2
tree7aecffb78cd783f0cdc3b74f6004266d14175665
parentc07c012b37e880fc79a238c206f8247306b53dd5
project-try-vc: Fix the "sometimes wrong cache" issue

* lisp/progmodes/project.el (project-try-vc--search):
Extract from 'project-try-vc'.
(project-try-vc): Use it.
(project-try-vc--search): Call itself recursively directly, to
avoid creating invalid cache entry (bug#73801).

(cherry picked from commit 29b30eb49f8bd8bad4f9e24dd56f32d62bf70121)
lisp/progmodes/project.el