Formatting

This commit is contained in:
Bram Schoenmakers 2022-12-04 11:02:02 +01:00
parent d7f897c89d
commit 11d536f407
2 changed files with 4 additions and 2 deletions

View file

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

View file

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