Add new command 'package-vc-log-incoming'

* lisp/emacs-lisp/package-vc.el (package-vc-log-incoming):
Implement it.
* etc/NEWS: Mention it.
This commit is contained in:
Philip Kaludercic 2024-06-09 12:39:47 +02:00
parent 1f407e286c
commit 1980624816
2 changed files with 12 additions and 0 deletions

View file

@ -1421,6 +1421,11 @@ project, that you can quickly select using 'project-switch-project'
Controls for which packages Emacs runs extra build commands when
installing directly from the package VCS repository.
---
*** New command 'package-vc-log-incoming'.
This commands displays incoming changes for a VC package without
modifying the current checkout.
---
*** New command to start an inferior Emacs loading only specific packages.
The new command 'package-isolate' will start a new Emacs process, as

View file

@ -1025,5 +1025,12 @@ See also `vc-prepare-patch'."
(vc-prepare-patch (package-maintainers pkg-desc t)
subject revisions)))
(defun package-vc-log-incoming (pkg-desc)
"Call `vc-log-incoming' for the package PKG-DESC."
(interactive
(list (package-vc--read-package-desc "Incoming log for package: " t)))
(let ((default-directory (package-desc-dir pkg-desc)))
(call-interactively #'vc-log-incoming)))
(provide 'package-vc)
;;; package-vc.el ends here