summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2021-07-22 21:07:37 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2021-07-22 21:07:37 +0200
commitd7fbe9d6e813bd6534b81f6f043081ee7b7d00a6 (patch)
tree1ed2f23bbc70af649ffe49e636fa2cda1b729db0
parentdfee8df7da3229df349e1d9250e72151db6d2c09 (diff)
README: Expand file path capf documentation
-rw-r--r--README.org6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.org b/README.org
index fe8d4d9..8b8bedc 100644
--- a/README.org
+++ b/README.org
@@ -120,11 +120,13 @@
** File path completion inside strings
- In order to additional complete file paths in string literals, we can reuse
+ In order to additionally complete file paths in string literals, we can reuse
the file path completion of the ~comint-mode~. Comit provides the
~comint--complete-file-name-data~ completion-at-point-function (Capf). We write
a small wrapper function ~file-name-at-point~ and register it in the
- ~completion-at-point-functions~ list for programming language modes.
+ ~completion-at-point-functions~ list for programming language modes. The file
+ path Capf will be tried only when the mode-specific Capf did not return
+ results.
#+begin_src emacs-lisp
(defvar comint-completion-addsuffix)