diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2025-09-20 17:58:04 +0200 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2025-09-20 17:58:04 +0200 |
| commit | a9b78ac918df991716de3f84a95db91bb4df44b6 (patch) | |
| tree | 8b81eb2438d0a873062fcbfe967fd4f460c164ad /README.org | |
| parent | 16abafafe33a930ff2d44dea80f7307a732b69a3 (diff) | |
Update README
Diffstat (limited to 'README.org')
| -rw-r--r-- | README.org | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -288,11 +288,11 @@ personal configuration. (list (cape-capf-predicate #'elisp-completion-at-point #'ignore-elisp-keywords))) -;; Example 7: Sanitize the `pcomplete-completions-at-point' Capf. The Capf has -;; undesired side effects on Emacs 28. These advices are not needed anymore. -(when (< emacs-major-version 29) - (advice-add 'pcomplete-completions-at-point :around #'cape-wrap-silent) - (advice-add 'pcomplete-completions-at-point :around #'cape-wrap-purify)) +;; Example 7: Sanitize broken Capfs. Catch errors with `cape-wrap-silent' or +;; make sure that the Capf does not modify the buffer itself. +(advice-add 'dabbrev-capf :around #'cape-wrap-silent) +(advice-add 'pcomplete-completions-at-point :around #'cape-wrap-silent) ;; Was necessary on Emacs 28 +(advice-add 'pcomplete-completions-at-point :around #'cape-wrap-purify) ;; Was necessary on Emacs 28 #+end_src * Contributions |
