emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/consult ac515e5157 2/3: Deprecate consult-multi-occur


From: ELPA Syncer
Subject: [elpa] externals/consult ac515e5157 2/3: Deprecate consult-multi-occur
Date: Tue, 20 Dec 2022 10:57:25 -0500 (EST)

branch: externals/consult
commit ac515e5157cc4a8ee2bdac5ae0c713b80fb34593
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Deprecate consult-multi-occur
    
    This command is only an improved version of the upstream `multi-occur' 
command,
    which should better be rewritten based on `completing-read-multiple'.
    Furthermore Consult provides the interactive `consult-line-multi' command 
as an
    alternative.
---
 CHANGELOG.org | 5 ++++-
 consult.el    | 7 +++----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/CHANGELOG.org b/CHANGELOG.org
index 9bc99bb0d6..f55323f231 100644
--- a/CHANGELOG.org
+++ b/CHANGELOG.org
@@ -6,7 +6,10 @@
 
 - Bugfixes
 - Drop Selectrum support
-- Deprecate =consult-file-externally=
+- Deprecate =consult-file-externally= in favor of =embark-open-externally=
+- Deprecate =consult-multi-occur=. The =multi-occur= command should be improved
+  upstream to take advantage of =completing-read-multiple=. Consult provides 
the
+  command =consult-line-multi= as an alternative.
 
 * Version 0.29 (2022-12-03)
 
diff --git a/consult.el b/consult.el
index cba4dfbb70..aa379e9a95 100644
--- a/consult.el
+++ b/consult.el
@@ -2854,6 +2854,8 @@ See `multi-occur' for the meaning of the arguments BUFS, 
REGEXP and NLINES."
                 (occur-read-primary-args)))
   (occur-1 regexp nlines bufs))
 
+(make-obsolete 'consult-multi-occur 'consult-line-multi "0.29")
+
 ;;;;; Command: consult-outline
 
 (defun consult--outline-candidates ()
@@ -3531,10 +3533,7 @@ narrowing and the settings `consult-goto-line-numbers' 
and
                   nil 0 nil
                   (expand-file-name file))))
 
-(make-obsolete
- 'consult-file-externally
- 'embark-open-externally
- "0.29")
+(make-obsolete 'consult-file-externally 'embark-open-externally "0.29")
 
 ;;;;; Command: consult-mode-command
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]