From 67657c6b6457bf59388a6b3d179d379b34d476ae Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Tue, 17 Sep 2024 00:31:33 +0200 Subject: [PATCH] epkg-insert{,reverse}-dependencies: Not for "emacs" pseudo package --- lisp/epkg-desc.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/epkg-desc.el b/lisp/epkg-desc.el index fe2e5ac..281c03d 100644 --- a/lisp/epkg-desc.el +++ b/lisp/epkg-desc.el @@ -236,7 +236,8 @@ are nil stand for empty lines." (defun epkg-insert-dependencies (pkg) (require 'tree-widget) - (when (oref pkg required) + (when (and (not (equal (oref pkg name) "emacs")) + (oref pkg required)) (insert ?\n) (widget-create (list 'epkg-dependency-tree @@ -249,7 +250,8 @@ are nil stand for empty lines." (defun epkg-insert-reverse-dependencies (pkg) (require 'tree-widget) - (when (epkg-reverse-dependencies pkg) + (when (and (not (equal (oref pkg name) "emacs")) + (epkg-reverse-dependencies pkg)) (insert ?\n) (widget-create (list 'epkg-dependency-tree