From a3e22e68fcae00705a4d62434e0430efba48b2d5 Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Tue, 18 Feb 2025 13:23:49 +0100 Subject: README: Minor cleanup --- README.org | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.org b/README.org index 51a03da..f333b83 100644 --- a/README.org +++ b/README.org @@ -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)) -- cgit v1.0