diff options
author | Omar Polo <op@omarpolo.com> | 2021-08-12 14:59:45 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-08-12 14:59:45 +0200 |
commit | 45cfa2a8cd521b81770a123aff548abae70f7322 (patch) | |
tree | 5ec7b0af785487670048ff8fc138750ab43a538c /lisp/vc/vc.el | |
parent | cb039170342948fad2a005c074dc77d486db0f53 (diff) | |
download | emacs-45cfa2a8cd521b81770a123aff548abae70f7322.tar.gz emacs-45cfa2a8cd521b81770a123aff548abae70f7322.tar.bz2 emacs-45cfa2a8cd521b81770a123aff548abae70f7322.zip |
Mention `find-ignore-file' in the vc.el commentary
* lisp/vc/vc.el: Update documentation in the comments about
`find-ignore-file' (bug#50013).
Diffstat (limited to 'lisp/vc/vc.el')
-rw-r--r-- | lisp/vc/vc.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index 9338b7191d0..a97caa702a1 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) |