From 7900cef7da15188811d72a7fc63d1f3a305f754f Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Fri, 1 Nov 2019 10:42:39 +0900 Subject: [PATCH] Follow symlinks when searching autoloads Signed-off-by: Rudi Grinberg --- core/autoload/help.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/autoload/help.el b/core/autoload/help.el index b28c8dd5f..ff867755b 100644 --- a/core/autoload/help.el +++ b/core/autoload/help.el @@ -614,7 +614,7 @@ Uses the symbol at point or the current selection, if available." (mapconcat #'shell-quote-argument (cond ((executable-find "rg") - `("rg" "--search-zip" "--no-heading" "--color=never" + `("rg" "-L" "--search-zip" "--no-heading" "--color=never" ,query ,@(cl-remove-if-not #'file-directory-p load-path))) ((executable-find "ag") `("ag" "--search-zip" "--nogroup" "--nocolor" @@ -645,7 +645,7 @@ Uses the symbol at point or the current selection, if available." #'shell-quote-argument (let ((search (elisp-refs--loaded-paths))) (cond ((executable-find "rg") - `("rg" "--search-zip" "--no-heading" "--color=never" + `("rg" "-L" "--search-zip" "--no-heading" "--color=never" ,query ,@(cl-remove-if-not #'file-directory-p search))) ((executable-find "ag") `("ag" "--search-zip" "--nogroup" "--nocolor"