Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Mar 31, 2024
1 parent dda4827 commit a5f5f80
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sideline-load-cost.el
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@
"Face for load cost in sideline."
:group 'sideline-load-cost)

;;
;;; Externals

(defvar features)

;;
;;; Util

Expand Down Expand Up @@ -92,7 +97,7 @@ Optional argument EXT is use to drop-in replace the current extension."
"Standard time use to measure average load time.")

(defun sideline-load-cost--measure-load-time (size)
"Measure load time cost."
"Measure load time cost by file's SIZE."
(* (/ (float size) sideline-load-cost--standard-file-size)
(car sideline-load-cost--standard-time)))

Expand Down

0 comments on commit a5f5f80

Please sign in to comment.