diff options
| author | Basil L. Contovounesios | 2020-06-03 11:45:54 +0100 |
|---|---|---|
| committer | Basil L. Contovounesios | 2020-06-03 11:45:54 +0100 |
| commit | 74966904b081a246a171bc7d2374f5d51712ed91 (patch) | |
| tree | 0c6b350386dd08beb2fc3bf9183213b6bd3f85b4 | |
| parent | 4cabf16e1dd2c908c4156fb34605ed52b3be0504 (diff) | |
| download | emacs-74966904b081a246a171bc7d2374f5d51712ed91.tar.gz emacs-74966904b081a246a171bc7d2374f5d51712ed91.zip | |
; Clean up recent project.el additions
* lisp/progmodes/project.el (project): Add :version tag.
(project-list-file): Fix custom :type and add :version tag.
| -rw-r--r-- | lisp/progmodes/project.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index bd99d5b725f..c701b801599 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el | |||
| @@ -95,6 +95,7 @@ | |||
| 95 | 95 | ||
| 96 | (defgroup project nil | 96 | (defgroup project nil |
| 97 | "Operations on the current project." | 97 | "Operations on the current project." |
| 98 | :version "28.1" | ||
| 98 | :group 'tools) | 99 | :group 'tools) |
| 99 | 100 | ||
| 100 | (defvar project-find-functions (list #'project-try-vc) | 101 | (defvar project-find-functions (list #'project-try-vc) |
| @@ -245,7 +246,7 @@ to find the list of ignores for each directory." | |||
| 245 | (defcustom project-vc-ignores nil | 246 | (defcustom project-vc-ignores nil |
| 246 | "List of patterns to include in `project-ignores'." | 247 | "List of patterns to include in `project-ignores'." |
| 247 | :type '(repeat string) | 248 | :type '(repeat string) |
| 248 | :safe 'listp) | 249 | :safe #'listp) |
| 249 | 250 | ||
| 250 | (defcustom project-vc-merge-submodules t | 251 | (defcustom project-vc-merge-submodules t |
| 251 | "Non-nil to consider submodules part of the parent project. | 252 | "Non-nil to consider submodules part of the parent project. |
| @@ -255,7 +256,7 @@ you might have to restart Emacs to see the effect." | |||
| 255 | :type 'boolean | 256 | :type 'boolean |
| 256 | :version "28.1" | 257 | :version "28.1" |
| 257 | :package-version '(project . "0.2.0") | 258 | :package-version '(project . "0.2.0") |
| 258 | :safe 'booleanp) | 259 | :safe #'booleanp) |
| 259 | 260 | ||
| 260 | ;; FIXME: Using the current approach, major modes are supposed to set | 261 | ;; FIXME: Using the current approach, major modes are supposed to set |
| 261 | ;; this variable to a buffer-local value. So we don't have access to | 262 | ;; this variable to a buffer-local value. So we don't have access to |
| @@ -748,7 +749,8 @@ Arguments the same as in `compile'." | |||
| 748 | 749 | ||
| 749 | (defcustom project-list-file (locate-user-emacs-file "project-list") | 750 | (defcustom project-list-file (locate-user-emacs-file "project-list") |
| 750 | "File to save the list of known projects." | 751 | "File to save the list of known projects." |
| 751 | :type 'string | 752 | :type 'file |
| 753 | :version "28.1" | ||
| 752 | :group 'project) | 754 | :group 'project) |
| 753 | 755 | ||
| 754 | (defvar project--list 'unset | 756 | (defvar project--list 'unset |