emacs-diffs
[Top][All Lists]
Advanced

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

master 4c08c2f: ; project.el: Talk about equality


From: Dmitry Gutov
Subject: master 4c08c2f: ; project.el: Talk about equality
Date: Sun, 19 Jul 2020 21:07:18 -0400 (EDT)

branch: master
commit 4c08c2f45b9bb0265f6d7c3529011dee1b18e843
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    ; project.el: Talk about equality
---
 lisp/progmodes/project.el | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 49a7735..a093055 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -95,8 +95,11 @@
 ;;
 ;; - Choose the format of the value that represents a project for your
 ;; backend (we call it project instance).  Don't use any of the
-;; formats from other backends.  The value can be arbitrary, as long
-;; as the datatype is something `cl-defmethod' can dispatch on.
+;; formats from other backends.  The format can be arbitrary, as long
+;; as the datatype is something `cl-defmethod' can dispatch on.  The
+;; value should be stable (when compared with `equal') across
+;; invocations, meaning calls to that function from buffers belonging
+;; to the same project should return equal values.
 ;;
 ;; - Write a new function that will determine the current project
 ;; based on the directory and add it to `project-find-functions'



reply via email to

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