[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/urgrep 0270e11849 072/115: Allow directory for `urgrep'
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/urgrep 0270e11849 072/115: Allow directory for `urgrep' and `urgrep-run-command' to be relative |
|
Date: |
Wed, 10 May 2023 03:00:45 -0400 (EDT) |
branch: externals/urgrep
commit 0270e118493466dc120a83fe7b5037303b628b3f
Author: Jim Porter <jporterbugs@gmail.com>
Commit: Jim Porter <jporterbugs@gmail.com>
Allow directory for `urgrep' and `urgrep-run-command' to be relative
---
urgrep.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/urgrep.el b/urgrep.el
index 813df7e505..77164fcf91 100644
--- a/urgrep.el
+++ b/urgrep.el
@@ -1000,7 +1000,8 @@ Type \\[urgrep-set-file-wildcards] to set a wildcard to
filter the files searche
(let* ((full-query (cons query rest))
(command (apply #'urgrep-command full-query))
(tool (urgrep-get-tool (cadr (cl-member :tool full-query))))
- (default-directory (or directory default-directory)))
+ (default-directory (if directory (expand-file-name directory)
+ default-directory)))
(urgrep--start command full-query tool)))
;;;###autoload
@@ -1015,7 +1016,8 @@ to edit the command before running it."
(list (urgrep--read-command (apply #'urgrep-command query))
directory (cadr (cl-member :tool query)))))
(let ((tool (urgrep-get-tool tool))
- (default-directory (or directory default-directory)))
+ (default-directory (if directory (expand-file-name directory)
+ default-directory)))
(urgrep--start command command tool)))
;;;###autoload
- [elpa] externals/urgrep 3052b8c191 049/115: Use #' read syntax for functions, (continued)
- [elpa] externals/urgrep 3052b8c191 049/115: Use #' read syntax for functions, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 582896b5af 050/115: Use dotted pairs for alist for each tool, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep c38b33878f 053/115: Autoloading 'urgrep-setup-hook' really shouldn't be necessary..., ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep a12bd677f7 056/115: Fix 'mouse-face' symbol, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 3370860a1b 043/115: Add support for toggling color output, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep c97985820d 048/115: Minor typographical fixes, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 136b1845d7 020/115: Add support for various regexp syntaxes, defaulting to BRE, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 496647e748 019/115: Add our own toolbar so we get better tooltips, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep ff96211f26 058/115: Update comment, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep d93a565190 060/115: Simplify implementation of 'urgrep', ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 0270e11849 072/115: Allow directory for `urgrep' and `urgrep-run-command' to be relative,
ELPA Syncer <=
- [elpa] externals/urgrep 86e7055ce5 063/115: Typo, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 5aabe4ffa9 066/115: Remove debug code, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 7fd67f1db5 092/115: Run CI against Emacs 28.2, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 2ef7daa448 093/115: Reorganize tests a bit, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 500c01092d 086/115: Fix display override for null character in context lines, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 229ae0bfb5 110/115: Use a version identifier compatible with 'version-to-string', ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 6aefc895bc 113/115: Set system-type to gnu/linux when making the Urgrep command for Eshell, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 83e62357da 018/115: Provide a friendly default value when searching, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 98e20f0630 021/115: Use pcase macros for filling in optional arguments, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep bf24dac2ac 025/115: Allow for separate before/after contexts, ELPA Syncer, 2023/05/10