Exclude *.org files from doom/help-packages{,-config}

This commit is contained in:
Henrik Lissner 2019-11-03 15:43:18 -05:00
parent d10c2f6cb9
commit 633fd7c95f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -399,7 +399,7 @@ current file is in, or d) the module associated with the current major mode (see
(let ((default-directory doom-emacs-dir))
(split-string
(shell-command-to-string
(format "git grep --no-break --no-heading --line-number '%s %s\\($\\| \\)'"
(format "git grep --no-break --no-heading --line-number '%s %s\\($\\| \\)' ':(exclude)*.org'"
"\\(^;;;###package\\|(after!\\|(use-package!\\)"
package))
"\n" t)))