]> git.eshelyaron.com Git - emacs.git/commitdiff
Mention `find-ignore-file' in the vc.el commentary
authorOmar Polo <op@omarpolo.com>
Thu, 12 Aug 2021 12:59:45 +0000 (14:59 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 12 Aug 2021 12:59:45 +0000 (14:59 +0200)
* lisp/vc/vc.el: Update documentation in the comments about
`find-ignore-file' (bug#50013).

lisp/vc/vc.el

index 9338b7191d0e035c5217ddddbf494a0dc59f1f1a..a97caa702a1b29c5581d5cd7f9032ed952097512 100644 (file)
 ;;   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)