emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 7496690: ; Clean up recent project.el additions


From: Basil L. Contovounesios
Subject: master 7496690: ; Clean up recent project.el additions
Date: Wed, 3 Jun 2020 06:56:38 -0400 (EDT)

branch: master
commit 74966904b081a246a171bc7d2374f5d51712ed91
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>

    ; Clean up recent project.el additions
    
    * lisp/progmodes/project.el (project): Add :version tag.
    (project-list-file): Fix custom :type and add :version tag.
---
 lisp/progmodes/project.el | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index bd99d5b..c701b80 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]