Skip to content

Commit

Permalink
Update source, eask-core.el
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Feb 20, 2024
1 parent a036120 commit 9d798fa
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions eask-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -2188,6 +2188,21 @@ is the deepness of the dependency nested level we want to go."

;; ~/lisp/core/load.el

;; ~/lisp/core/loc.el
(defvar eask-loc-lines 0)
(defvar eask-loc-chars 0)
(defun eask--loc-file (file)
"Insert LOC information for FILE."
(unless (file-directory-p file)
(let ((lines) (chars))
(with-temp-buffer
(insert-file-contents file)
(setq lines (line-number-at-pos (point-max))
chars (point-max)))
(cl-incf eask-loc-lines lines)
(cl-incf eask-loc-chars chars)
(insert (format "| %s | %s | %s |\n" file lines chars)))))

;; ~/lisp/core/outdated.el

;; ~/lisp/core/package-directory.el
Expand Down

0 comments on commit 9d798fa

Please sign in to comment.