branch: externals/urgrep
commit 0d7f689e1a0633c2f3b829dd060c9db1661b79ae
Author: Jim Porter <jporterb...@gmail.com>
Commit: Jim Porter <jporterb...@gmail.com>

    Fix up quoting style in `advice-add`
    
    This doesn't do anything, but it's more consistent with other uses 
elsewhere.
---
 urgrep-xref.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/urgrep-xref.el b/urgrep-xref.el
index 8d1ff1025e..1427d32b6b 100644
--- a/urgrep-xref.el
+++ b/urgrep-xref.el
@@ -52,10 +52,10 @@
                                         :color nil :root nil)))))
     (funcall oldfun regexp (urgrep--remove-directories files))))
 
-(advice-add #'xref-matches-in-files :around #'urgrep--xref-matches-in-files)
+(advice-add 'xref-matches-in-files :around #'urgrep--xref-matches-in-files)
 
 (defun urgrep-xref-unload-function ()
-  (advice-remove #'xref-matches-in-files #'urgrep--xref-matches-in-files))
+  (advice-remove 'xref-matches-in-files #'urgrep--xref-matches-in-files))
 
 (provide 'urgrep-xref)
 ;;; urgrep-xref.el ends here

Reply via email to