diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2025-10-31 11:22:35 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2025-10-31 11:23:10 +0100 |
| commit | 87561729cb882680187e54755e81c9c18bb0ab26 (patch) | |
| tree | d2f74bf1499d4b867f909507c6c6df1251937fd2 /cape.el | |
| parent | f7bdd1e67950c608700e3b05c9cda43dfb8af98d (diff) | |
Mark cape-capf-purify as obsolete
Diffstat (limited to 'cape.el')
| -rw-r--r-- | cape.el | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1208,11 +1208,6 @@ This function can be used as an advice around an existing Capf." (defun cape-wrap-purify (capf) "Call CAPF and ensure that it does not illegally modify the buffer. This function can be used as an advice around an existing Capf." - ;; bug#50470: Fix Capfs which illegally modify the buffer or which illegally - ;; call `completion-in-region'. The workaround here was proposed by - ;; @jakanakaevangeli and is used in his capf-autosuggest package. In Emacs 29 - ;; the purity bug of Pcomplete has been fixed, such that make - ;; `cape-wrap-purify' is not necessary anymore. (catch 'cape--illegal-completion-in-region (condition-case nil (let ((buffer-read-only t) @@ -1223,6 +1218,8 @@ This function can be used as an advice around an existing Capf." (list beg end coll :predicate pred))))) (funcall capf)) (buffer-read-only nil)))) +(make-obsolete 'cape-wrap-purify nil "2.2") +(make-obsolete 'cape-capf-purify nil "2.2") ;;;###autoload (defun cape-wrap-accept-all (capf) |
