Also match elpaca-use-package

This commit is contained in:
Bram Schoenmakers 2022-12-04 10:58:42 +01:00
parent 2eecdf0db3
commit 6c90fdce02
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ Using the idea of evaluating code on state changes [[id:3be8333e-7a47-4251-8ee4-
,#+begin_src elisp :results table append
(with-temp-buffer
(insert-file-contents user-init-file)
(list (format-time-string "%F") (count-matches "(use-package ")))
(list (format-time-string "%F") (count-matches (rx (seq "(" (? "elpaca-") "use-package" space)))))
,#+end_src
,#+RESULTS:

View file

@ -17,7 +17,7 @@ Press =C-c C-c= inside the code block to add a new entry to the table below.
#+begin_src elisp :results table append
(with-temp-buffer
(insert-file-contents user-init-file)
(list (format-time-string "%F") (count-matches "(use-package ")))
(list (format-time-string "%F") (count-matches (rx (seq "(" (? "elpaca-") "use-package" space)))))
#+end_src
#+RESULTS: