 (defun kotct/package-latest-available (package)
   "Get the lastest-available package-desc for PACKAGE, preferring repositories
 as listed in `package-archive-priorities' or `kotct/package-ordered-archives'.
+
 Does not automatically refresh the package list."
   (if (version< emacs-version "25.1")
       ;; no package-archive-priorities, so use kotct/package-ordered-archives


(defun kotct/packup-get-package-name ()
  "Get package name on current line.
Returns \"\" if there is no package name on the line."
  (save-excursion
    (beginning-of-line)
    (forward-char 4)

        (apply #'kotct/packup-insert-package-row (list package (package-desc-version (kotct/package-latest-available package))))))))

(defun kotct/packup-refresh ()
  "Refresh packages in current packup buffer."
  (interactive)
  (when (eq major-mode 'packup-mode)
    (let ((inhibit-read-only t))
