refactor: minor refactors

This commit is contained in:
Henrik Lissner 2024-07-18 22:35:17 -04:00
parent 98a3cad54d
commit db36c74bbb
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
3 changed files with 3 additions and 5 deletions

View file

@ -23,7 +23,7 @@
(with-temp-file "org-version.el"
(let ((version
(with-temp-buffer
(insert-file-contents (doom-path "lisp/org.el") nil 0 1024)
(insert-file-contents "lisp/org.el" nil 0 1024)
(if (re-search-forward "^;; Version: \\([^\n-]+\\)" nil t)
(match-string-no-properties 1)
"Unknown"))))