 (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

  "The keymap for packup-mode.")

(defun kotct/packup-initialize-buffer ()
  "Initializes the packup buffer."
  (kill-all-local-variables)
  (use-local-map packup-mode-map)
  (setf major-mode 'packup-mode


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