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

    Make stylistic change to denote-grep-file-regexp-prompt
---
 denote.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/denote.el b/denote.el
index 0824486d65..b683fc3852 100644
--- a/denote.el
+++ b/denote.el
@@ -5926,9 +5926,9 @@ Also see `denote-grep-history'.")
 The prompt assumes the user wants to exclude files, unless INCLUDE is
 non-nil."
   (read-string
-   (if (not include)
-       "Exclude file names matching: "
-     "Only include file names matching: ")
+   (if include
+       "Only include file names matching: "
+     "Exclude file names matching: ")
    nil 'denote-grep-file-regexp-history))
 
 ;;;###autoload

Reply via email to