(project-find-regexp): Fix the temporary value of DEFAULT-DIRECTORY
authorDmitry Gutov <dmitry@gutov.dev>
Tue, 13 Aug 2024 12:14:18 +0000 (15:14 +0300)
committerDmitry Gutov <dmitry@gutov.dev>
Tue, 13 Aug 2024 12:14:18 +0000 (15:14 +0300)
commit4589f51c21df3a07e1c5b46897608c344df73e68
tree30def047cabedcdc969ff9847cef1621fe97fabb
parent616a93d185a9dc394ac9dcea2556060258c4276a
(project-find-regexp): Fix the temporary value of DEFAULT-DIRECTORY

* lisp/progmodes/project.el (project-find-regexp): Make sure the
assigned value of DEFAULT-DIRECTORY ends with a slash.
read-directory-name returns the name without it in certain cases.
lisp/progmodes/project.el