diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2021-07-22 21:07:37 +0200 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2021-07-22 21:07:37 +0200 |
| commit | d7fbe9d6e813bd6534b81f6f043081ee7b7d00a6 (patch) | |
| tree | 1ed2f23bbc70af649ffe49e636fa2cda1b729db0 | |
| parent | dfee8df7da3229df349e1d9250e72151db6d2c09 (diff) | |
README: Expand file path capf documentation
| -rw-r--r-- | README.org | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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) |
