We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22fed55 commit 5bce74cCopy full SHA for 5bce74c
lisp/erk.el
@@ -233,8 +233,11 @@ Returns FUN if it's bound and within the project."
233
"Return a list of the elisp files in DIR.
234
Ignore autoloads."
235
(->>
236
- (directory-files dir nil (rx ".el" string-end))
237
- (--reject (string-match-p (rx "autoloads.el" string-end) it))))
+ (directory-files dir nil (rx (literal ".el") string-end))
+ (--reject (string-match-p (rx (literal "autoloads.el") line-end) it))
238
+ ;; flycheck creates a short-lived file starting with flycheck_
239
+ ;; Will heisenbug you.
240
+ (--reject (string-match-p (rx line-start (literal "flycheck_")) it))))
241
242
(defun erk--dir-features (dir)
243
"Return list of features provided by elisp files in DIR.
0 commit comments