Merge pull request #4067 from rgrinberg/search-compressed

Search compressed .el files in load history
This commit is contained in:
Henrik Lissner
2020-10-09 18:34:14 -04:00
committed by GitHub

View File

@@ -662,6 +662,7 @@ Uses the symbol at point or the current selection, if available."
(doom--help-search (doom--help-search
(cl-loop for (file . _) in (cl-remove-if-not #'stringp load-history :key #'car) (cl-loop for (file . _) in (cl-remove-if-not #'stringp load-history :key #'car)
for filebase = (file-name-sans-extension file) for filebase = (file-name-sans-extension file)
if (file-exists-p! (format "%s.el" filebase)) if (file-exists-p! (or (format "%s.el.gz" filebase)
(format "%s.el" filebase)))
collect it) collect it)
query "Search loaded files: ")) query "Search loaded files: "))