Skip to content

Commit

Permalink
epkg-insert{,reverse}-dependencies: Not for "emacs" pseudo package
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Sep 16, 2024
1 parent 26634f4 commit 67657c6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lisp/epkg-desc.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 67657c6

Please sign in to comment.