emacs-diffs
[Top][All Lists]
Advanced

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

master 2216468 2/2: Update the package version


From: Dmitry Gutov
Subject: master 2216468 2/2: Update the package version
Date: Sun, 17 May 2020 20:51:38 -0400 (EDT)

branch: master
commit 2216468786f64cfa403dface1dab1cd20b84d5aa
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Update the package version
    
    * lisp/progmodes/project.el: Update the package version.
    (project-vc-merge-submodules): Update the docstring.
    (project-try-vc): Add a FIXME.
---
 lisp/progmodes/project.el | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 0b2761c..4425999 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -1,7 +1,7 @@
 ;;; project.el --- Operations on the current project  -*- lexical-binding: t; 
-*-
 
 ;; Copyright (C) 2015-2020 Free Software Foundation, Inc.
-;; Version: 0.1.3
+;; Version: 0.2.0
 ;; Package-Requires: ((emacs "26.3"))
 
 ;; This is a GNU ELPA :core package.  Avoid using functionality that
@@ -233,7 +233,10 @@ to find the list of ignores for each directory."
   :safe 'listp)
 
 (defcustom project-vc-merge-submodules t
-  "Non-nil to consider submodules part of the parent project."
+  "Non-nil to consider submodules part of the parent project.
+
+After changing this variable (using Customize or .dir-locals.el)
+you might have to restart Emacs to see the effect."
   :type 'boolean
   :package-version '(project . "0.2.0")
   :safe 'booleanp)
@@ -284,6 +287,8 @@ backend implementation of `project-external-roots'.")
                    (vc-file-setprop
                     dir 'project-git-root
                     (if (and
+                         ;; FIXME: Invalidate the cache when the value
+                         ;; of this variable changes.
                          project-vc-merge-submodules
                          (project--submodule-p root))
                         (let* ((parent (file-name-directory
@@ -302,9 +307,8 @@ backend implementation of `project-external-roots'.")
   ;; there is the custom var now.
   ;;
   ;; Some users may also set up things equivalent to Git submodules
-  ;; using "git worktree" instead (for example).  However, we expect
-  ;; that most of them would prefer to treat those as separate
-  ;; projects anyway.
+  ;; using "git worktree" (for example).  However, we expect that most
+  ;; of them would prefer to treat those as separate projects anyway.
   (let* ((gitfile (expand-file-name ".git" root)))
     (cond
      ((file-directory-p gitfile)



reply via email to

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