]> git.eshelyaron.com Git - emacs.git/commitdiff
; Clean up recent project.el additions
authorBasil L. Contovounesios <contovob@tcd.ie>
Wed, 3 Jun 2020 10:45:54 +0000 (11:45 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Wed, 3 Jun 2020 10:45:54 +0000 (11:45 +0100)
* lisp/progmodes/project.el (project): Add :version tag.
(project-list-file): Fix custom :type and add :version tag.

lisp/progmodes/project.el

index bd99d5b725fec1db4c9e3e3b784b08ef4af75038..c701b801599c138d01abd7df8ae3b13b4682b9c4 100644 (file)
@@ -95,6 +95,7 @@
 
 (defgroup project nil
   "Operations on the current project."
+  :version "28.1"
   :group 'tools)
 
 (defvar project-find-functions (list #'project-try-vc)
@@ -245,7 +246,7 @@ to find the list of ignores for each directory."
 (defcustom project-vc-ignores nil
   "List of patterns to include in `project-ignores'."
   :type '(repeat string)
-  :safe 'listp)
+  :safe #'listp)
 
 (defcustom project-vc-merge-submodules t
   "Non-nil to consider submodules part of the parent project.
@@ -255,7 +256,7 @@ you might have to restart Emacs to see the effect."
   :type 'boolean
   :version "28.1"
   :package-version '(project . "0.2.0")
-  :safe 'booleanp)
+  :safe #'booleanp)
 
 ;; FIXME: Using the current approach, major modes are supposed to set
 ;; this variable to a buffer-local value.  So we don't have access to
@@ -748,7 +749,8 @@ Arguments the same as in `compile'."
 
 (defcustom project-list-file (locate-user-emacs-file "project-list")
   "File to save the list of known projects."
-  :type 'string
+  :type 'file
+  :version "28.1"
   :group 'project)
 
 (defvar project--list 'unset