emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A read-based grep-like for symbols (el-search?) (was Do shorthands b


From: João Távora
Subject: Re: A read-based grep-like for symbols (el-search?) (was Do shorthands break basic tooling (tags, grep, etc)? (was Re: Shorthands have landed on master))
Date: Fri, 01 Oct 2021 17:11:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

João Távora <joaotavora@gmail.com> writes:

>> (benchmark 1 '(dolist (dir load-path)
>>                  (when (file-exists-p dir)
>>                    (let ((files (directory-files dir t "\\.el\\'")))
>>                      (dolist (file files)
>>                        (unless (file-directory-p file)
>>                          (with-temp-buffer
>>                            (insert-file file)
>>                            (read-from-string (buffer-string)))))))))
>>
>> Reports 2.5 seconds here.

> Are these Emacs's files?

Nevermind, just saw it's load-path.  Which makes sense.

So I have to ask: is this an 'Emacs -Q' load-path?

João



reply via email to

[Prev in Thread] Current Thread [Next in Thread]