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

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

[elpa] externals/urgrep 3bead25823 4/4: Capitalization


From: ELPA Syncer
Subject: [elpa] externals/urgrep 3bead25823 4/4: Capitalization
Date: Wed, 8 May 2024 18:59:01 -0400 (EDT)

branch: externals/urgrep
commit 3bead258239aaeff1ad96d860c7f482206bad112
Author: Jim Porter <jporterbugs@gmail.com>
Commit: Jim Porter <jporterbugs@gmail.com>

    Capitalization
---
 urgrep.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/urgrep.el b/urgrep.el
index 29fbf97e1d..8c171311a5 100644
--- a/urgrep.el
+++ b/urgrep.el
@@ -197,7 +197,7 @@ for MS shells."
 This expands tildes and removes any remote host identifiers or quoting."
   (when-let ((remote (file-remote-p file)))
     (unless (equal remote (file-remote-p default-directory))
-      (error "remote file doesn't match host for `default-directory'"))
+      (error "Remote file doesn't match host for `default-directory'"))
     (setq file (file-local-name file)))
   (setq file (file-name-unquote file))
   (if (not (string-prefix-p "~" file))
@@ -261,7 +261,7 @@ properties defined in the `urgrep-tools' entry for TOOL."
   "Add EXTRA-OPTS to the specified GREP template and return it.
 This function changes match data."
   (unless (string-match "<C>" template)
-    (error "grep template should have a <C> placeholder"))
+    (error "Grep template should have a <C> placeholder"))
   ;; Locally add options to the template that grep.el isn't aware of.
   (replace-match (concat "<C> " (urgrep--shell-join extra-opts))
                  t t template))
@@ -675,7 +675,7 @@ COLOR: non-nil (the default) if the output should use 
color."
           (file-wildcard (ensure-list file-wildcard))
           (root (mapcar #'urgrep--safe-file-name (ensure-list root)))
           (tool (or (urgrep-get-tool tool)
-                    (error "unknown tool %s" tool)))
+                    (error "Unknown tool %s" tool)))
           (tool-re-syntax (urgrep--get-best-syntax regexp-syntax tool))
           (query (urgrep--convert-regexp query regexp-syntax tool-re-syntax))
           (cmd-fun (urgrep--get-prop 'command-function tool)))



reply via email to

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