branch: externals/denote
commit 7e0a7944e14aa4ddec82154288868e9424061767
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Update the doc string of denote-query-contents-link
---
 denote.el | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/denote.el b/denote.el
index 29eab4a5cc..c4b9699540 100644
--- a/denote.el
+++ b/denote.el
@@ -5263,14 +5263,10 @@ If FILE-TYPE is nil, use that of Org."
 ;;;###autoload
 (defun denote-query-contents-link (query)
   "Insert query link for file contents.
-Prompt for QUERY or use the text of the active region.
-
-Query links of this sort do not point to any file but instead initiate a
-search in the contents of files inside the variable `denote-directory'.
-They are always formatted as [[denote:query-contents:QUERY]].  This is
-unlike what `denote-link' and related commands do, which always
-establish a direct connection to a file and their format is more
-flexible."
+Prompt for QUERY or use the text of the active region.  When the user
+follows this link, place any matches in a separate buffer (using the
+built-in Xref mechanism).  This is the equivalent of a Unix grep command
+across the variable `denote-directory'."
   (interactive
    (list
     (or (denote--get-active-region-content)

Reply via email to