Merge pull request #4067 from rgrinberg/search-compressed
Search compressed .el files in load history
This commit is contained in:
commit
7833cee77b
1 changed files with 2 additions and 1 deletions
|
@ -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: "))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue