Skip to content

Commit

Permalink
Fetch port with f in macports-outdated-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
amake committed Dec 11, 2023
1 parent e70bdc8 commit bbc4288
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion macports-outdated.el
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ See `macports-installed--init-flag' for details.")
(define-key map (kbd "RET") #'macports-outdated-describe-port)
(define-key map (kbd "c") #'macports-outdated-port-contents)
(define-key map (kbd "e") #'macports-outdated-edit-port)
(define-key map (kbd "f") #'macports-outdated-edit-port)
(define-key map (kbd "f") #'macports-outdated-fetch-port)
(define-key map (kbd "L") #'macports-outdated-port-log)
(define-key map (kbd "C") #'macports-outdated-port-clean)
(define-key map (kbd "u") #'macports-outdated-mark-upgrade)
Expand Down Expand Up @@ -112,6 +112,12 @@ See `macports-installed--init-flag' for details.")
(macports-outdated--ensure-macports-outdated-mode)
(macports-edit-portfile (macports-outdated--get-id)))

(defun macports-outdated-fetch-port ()
"Fetch portfile for the current port."
(interactive)
(macports-outdated--ensure-macports-outdated-mode)
(funcall-interactively #'macports-fetch (macports-outdated--get-id)))

(defun macports-outdated-port-log ()
"Open log for the current port."
(interactive)
Expand Down

0 comments on commit bbc4288

Please sign in to comment.