[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/consult 646fb04ba1 1/3: Deprecate consult-file-external
From: |
ELPA Syncer |
Subject: |
[elpa] externals/consult 646fb04ba1 1/3: Deprecate consult-file-externally |
Date: |
Tue, 20 Dec 2022 10:57:25 -0500 (EST) |
branch: externals/consult
commit 646fb04ba149de6323f39990127c24a836c54994
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Deprecate consult-file-externally
This command is a "classical action" and a better fit for Embark. See
https://github.com/oantolin/embark/issues/572. I am moving ahead here in the
hope that @oantolin agrees. :)
---
CHANGELOG.org | 1 +
README.org | 3 ---
consult.el | 5 +++++
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/CHANGELOG.org b/CHANGELOG.org
index ab10c8d021..9bc99bb0d6 100644
--- a/CHANGELOG.org
+++ b/CHANGELOG.org
@@ -6,6 +6,7 @@
- Bugfixes
- Drop Selectrum support
+- Deprecate =consult-file-externally=
* Version 0.29 (2022-12-03)
diff --git a/README.org b/README.org
index cf66fba1f8..9dfbbe1420 100644
--- a/README.org
+++ b/README.org
@@ -342,7 +342,6 @@ their descriptions.
:description: Various other useful commands
:end:
-#+findex: consult-file-externally
#+findex: consult-completion-in-region
#+findex: consult-theme
#+findex: consult-man
@@ -350,8 +349,6 @@ their descriptions.
#+findex: consult-preview-at-point-mode
- =consult-man=: Find Unix man page, via Unix =apropos= or =man -k=.
=consult-man= opens
the selected man page using the Emacs =man= command.
-- =consult-file-externally=: Select a file and open it externally, e.g. using
- =xdg-open= on Linux.
- =consult-theme=: Select a theme and disable all currently enabled themes.
Supports live preview of the theme while scrolling through the candidates.
- =consult-preview-at-point= and =consult-preview-at-point-mode=: Command and
minor
diff --git a/consult.el b/consult.el
index ded37380c9..cba4dfbb70 100644
--- a/consult.el
+++ b/consult.el
@@ -3531,6 +3531,11 @@ 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")
+
;;;;; Command: consult-mode-command
(defun consult--mode-name (mode)