diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2025-02-18 13:23:49 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2025-02-18 13:23:49 +0100 |
| commit | a3e22e68fcae00705a4d62434e0430efba48b2d5 (patch) | |
| tree | c4ff4110b1986e2af7ee55f1b36c5c4f14768e3a | |
| parent | 2c476b442ccfda9935e472b26d9cd60d45726560 (diff) | |
README: Minor cleanup
| -rw-r--r-- | README.org | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -353,7 +353,7 @@ Since Emacs 29, Pcomplete offers the =pcomplete-from-help= function which parses the ~--help~ output of a command and produces completions for command line options. -Pcomplete has a few bugs on Emacs 28 and older. We can work around the issues +Pcomplete has a few bugs on Emacs 28. We can work around the issues with the [[https://github.com/minad/cape][Cape]] library (Completion at point extensions). Cape provides wrappers which sanitize the Pcomplete function. On Emacs 29 the advices should not be necessary anymore, since most relevant bugs have been fixed. In case you @@ -361,8 +361,7 @@ discover any remaining Pcomplete issues, please report them upstream. #+begin_src emacs-lisp ;; Sanitize the `pcomplete-completions-at-point' Capf. The Capf has undesired -;; side effects on Emacs 28 and earlier. These advices are not needed on Emacs -;; 29 and newer. +;; side effects on Emacs 28. These advices are not needed on Emacs 29 and newer. (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)) |
