diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2024-01-07 23:59:21 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2024-01-07 23:59:21 +0100 |
| commit | f0f60de5e7f916358feda5f6509d139cbccf20f1 (patch) | |
| tree | ef54ff1c99e06f9def3b815882017bc786a5a151 | |
| parent | adfccae7be2dff68ecbded1b47d5029e4e86dc00 (diff) | |
README: Update dabbrev configuration example
| -rw-r--r-- | README.org | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -131,9 +131,11 @@ completion at point function provided by my [[https://github.com/minad/cape][Cap ;; Swap M-/ and C-M-/ :bind (("M-/" . dabbrev-completion) ("C-M-/" . dabbrev-expand)) - ;; Other useful Dabbrev configurations. - :custom - (dabbrev-ignored-buffer-regexps '("\\.\\(?:pdf\\|jpe?g\\|png\\)\\'"))) + :config + (add-to-list 'dabbrev-ignored-buffer-regexps "\\` ") + ;; Since 29.1, use `dabbrev-ignored-buffer-regexps' on older. + (add-to-list 'dabbrev-ignored-buffer-modes 'doc-view-mode) + (add-to-list 'dabbrev-ignored-buffer-modes 'pdf-view-mode)) #+end_src If you start to configure the package more deeply, I recommend to give the |
