branch: externals/triples
commit 91536349e96519bea7fdfd0ec85fa7335ca37dff
Author: Andrew Hyatt <[email protected]>
Commit: Andrew Hyatt <[email protected]>
Warn against usage of `triples-delete-subject'
---
triples.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/triples.el b/triples.el
index 60a565332f..f5092a8834 100644
--- a/triples.el
+++ b/triples.el
@@ -552,7 +552,9 @@ TYPE-VALS-CONS is a list of conses, combining a type and a
plist of values."
type-vals-cons)))
(defun triples-delete-subject (db subject)
- "Delete all data in DB associated with SUBJECT."
+ "Delete all data in DB associated with SUBJECT.
+This usually should not be called, it's better to just delete
+data you own with `triples-remove-type'."
(triples-db-delete db subject))
(defun triples-search (db cpred text)