summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPhilip Kaludercic <philipk@posteo.net>2024-06-09 12:39:47 +0200
committerPhilip Kaludercic <philipk@posteo.net>2024-06-09 12:39:47 +0200
commit19806248167b9c4edaadbf4ed428a62fd8c5e412 (patch)
tree45c5fc44f5638d43880422ea4352666740712702 /lisp/emacs-lisp
parent1f407e286ce07a15f9ccd837de5daf19646339b5 (diff)
downloademacs-19806248167b9c4edaadbf4ed428a62fd8c5e412.tar.gz
emacs-19806248167b9c4edaadbf4ed428a62fd8c5e412.tar.bz2
emacs-19806248167b9c4edaadbf4ed428a62fd8c5e412.zip
Add new command 'package-vc-log-incoming'
* lisp/emacs-lisp/package-vc.el (package-vc-log-incoming): Implement it. * etc/NEWS: Mention it.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/package-vc.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index c86577b6b26..45231bd4c73 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -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