[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/urgrep 3052b8c191 049/115: Use #' read syntax for funct
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/urgrep 3052b8c191 049/115: Use #' read syntax for functions |
|
Date: |
Wed, 10 May 2023 03:00:42 -0400 (EDT) |
branch: externals/urgrep
commit 3052b8c19123a84c91803d5ebcfe2021e5e18f28
Author: Jim Porter <jporterbugs@gmail.com>
Commit: Jim Porter <jporterbugs@gmail.com>
Use #' read syntax for functions
---
urgrep.el | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/urgrep.el b/urgrep.el
index b0f9c43d28..1bc748adf2 100644
--- a/urgrep.el
+++ b/urgrep.el
@@ -469,23 +469,23 @@ If EDIT-COMMAND is non-nil, the search can be edited."
;; Don't inherit from `compilation-minor-mode-map',
;; because that introduces a menu bar item we don't want.
(set-keymap-parent map special-mode-map)
- (define-key map [mouse-2] 'compile-goto-error)
- (define-key map [follow-link] 'mouse-face)
- (define-key map "\C-c\C-c" 'compile-goto-error)
- (define-key map "\C-m" 'compile-goto-error)
- (define-key map "\C-o" 'compilation-display-error)
- (define-key map "\C-c\C-k" 'kill-compilation)
- (define-key map "\M-n" 'compilation-next-error)
- (define-key map "\M-p" 'compilation-previous-error)
- (define-key map "\M-{" 'compilation-previous-file)
- (define-key map "\M-}" 'compilation-next-file)
- (define-key map "n" 'next-error-no-select)
- (define-key map "p" 'previous-error-no-select)
- (define-key map "{" 'compilation-previous-file)
- (define-key map "}" 'compilation-next-file)
- (define-key map "\t" 'compilation-next-error)
- (define-key map [backtab] 'compilation-previous-error)
- (define-key map "g" 'urgrep-search-again)
+ (define-key map [mouse-2] #'compile-goto-error)
+ (define-key map [follow-link] #'mouse-face)
+ (define-key map "\C-c\C-c" #'compile-goto-error)
+ (define-key map "\C-m" #'compile-goto-error)
+ (define-key map "\C-o" #'compilation-display-error)
+ (define-key map "\C-c\C-k" #'kill-compilation)
+ (define-key map "\M-n" #'compilation-next-error)
+ (define-key map "\M-p" #'compilation-previous-error)
+ (define-key map "\M-{" #'compilation-previous-file)
+ (define-key map "\M-}" #'compilation-next-file)
+ (define-key map "n" #'next-error-no-select)
+ (define-key map "p" #'previous-error-no-select)
+ (define-key map "{" #'compilation-previous-file)
+ (define-key map "}" #'compilation-next-file)
+ (define-key map "\t" #'compilation-next-error)
+ (define-key map [backtab] #'compilation-previous-error)
+ (define-key map "g" #'urgrep-search-again)
map)
"Keymap for urgrep buffers.")
@@ -611,7 +611,7 @@ See `compilation-error-regexp-alist' for format details.")
(when-let ((tool-setup (urgrep--get-prop 'process-setup
urgrep-current-tool)))
(funcall tool-setup))
(setq-local urgrep-num-matches-found 0
- compilation-exit-message-function 'urgrep-exit-message)
+ compilation-exit-message-function #'urgrep-exit-message)
(run-hooks 'urgrep-setup-hook))
(defun urgrep-exit-message (status code msg)
@@ -696,7 +696,7 @@ rerunning the search."
;; can consult it.
(urgrep--with-killed-local-variable 'urgrep-current-tool
(let ((urgrep-current-tool tool))
- (compilation-start command 'urgrep-mode)))
+ (compilation-start command #'urgrep-mode)))
(setq urgrep-current-query query
urgrep-current-tool tool)
(current-buffer)))
- [elpa] externals/urgrep 74f38b1021 037/115: Add ability to filter the files to be searched, (continued)
- [elpa] externals/urgrep 74f38b1021 037/115: Add ability to filter the files to be searched, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 8065bb9f5e 039/115: Update requirements and fix failing MS Windows test, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep b0dbe7c6c1 046/115: Update heading, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep e9e70552db 057/115: Use 'format-prompt' if available, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 6f5813ba78 062/115: Add support for wgrep; resolves #2, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 69e45bad3c 069/115: Fix unit tests for git-grep, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 8c6e3d5ba2 101/115: Ensure we get exactly the colors we want, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 2523b6ed4e 108/115: Improve line wrapping slightly, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep e70773d86b 035/115: Refactor urgrep-process-setup so tools can define their own process-setup, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep fdd8dd54e6 044/115: Provide more details in the README, ELPA Syncer, 2023/05/10
- [elpa] externals/urgrep 3052b8c191 049/115: Use #' read syntax for functions,
ELPA Syncer <=
- [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, 2023/05/10