; Fix project-list-file on Emacs 26.1
* lisp/progmodes/project.el (project-list-file): Unbreak use of 'locate-user-emacs-file' on Emacs 26.1. Problem reported by Dmitry Gutov <dmitry@gutov.dev>.
This commit is contained in:
parent
b3d8e7ebb5
commit
ceee1a0ae7
1 changed files with 3 additions and 1 deletions
|
@ -1832,7 +1832,9 @@ Also see the `project-kill-buffers-display-buffer-list' variable."
|
|||
;;; Project list
|
||||
|
||||
(defcustom project-list-file
|
||||
(locate-user-emacs-file '("projects.eld" "projects"))
|
||||
(locate-user-emacs-file (if (>= emacs-major-version 31)
|
||||
'("projects.eld" "projects")
|
||||
"projects"))
|
||||
"File in which to save the list of known projects."
|
||||
:type 'file
|
||||
:version "31.1"
|
||||
|
|
Loading…
Add table
Reference in a new issue