[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 45cfa2a 1/4: Mention `find-ignore-file' in the vc.el commentary
From: |
Lars Ingebrigtsen |
Subject: |
master 45cfa2a 1/4: Mention `find-ignore-file' in the vc.el commentary |
Date: |
Thu, 12 Aug 2021 10:11:07 -0400 (EDT) |
branch: master
commit 45cfa2a8cd521b81770a123aff548abae70f7322
Author: Omar Polo <op@omarpolo.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Mention `find-ignore-file' in the vc.el commentary
* lisp/vc/vc.el: Update documentation in the comments about
`find-ignore-file' (bug#50013).
---
lisp/vc/vc.el | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el
index 9338b71..a97caa7 100644
--- a/lisp/vc/vc.el
+++ b/lisp/vc/vc.el
@@ -486,11 +486,19 @@
;; from ignored files.
;; When called from Lisp code, if DIRECTORY is non-nil, the
;; repository to use will be deduced by DIRECTORY.
+;; The default behavior is to add or remove a line from the file
+;; returned by the `find-ignore-file' function.
;;
;; - ignore-completion-table (directory)
;;
;; Return the completion table for files ignored by the current
;; version control system, e.g., the entries in `.gitignore' and
+;; `.bzrignore'. The default behavior is to read the contents of
+;; the file returned by the `find-ignore-file' function.
+;;
+;; - find-ignore-file
+;;
+;; Return the ignore file that controls FILE, e.g. `.gitignore' or
;; `.bzrignore'.
;;
;; - previous-revision (file rev)