emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/nix-mode c4abb64a64 494/500: nix-flake: Add a comment


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode c4abb64a64 494/500: nix-flake: Add a comment
Date: Sat, 29 Jan 2022 08:27:59 -0500 (EST)

branch: elpa/nix-mode
commit c4abb64a64bb6102868509bfb7a7b1cdf440a96a
Author: Akira Komamura <akira.komamura@gmail.com>
Commit: Akira Komamura <akira.komamura@gmail.com>

    nix-flake: Add a comment
---
 nix-flake.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/nix-flake.el b/nix-flake.el
index b759a513c7..6729f2961b 100644
--- a/nix-flake.el
+++ b/nix-flake.el
@@ -102,6 +102,10 @@ already registered in either the user or the global 
registry."
     (cl-remove-if-not (pcase-lambda (`(,type . ,_))
                         (member type '("user" "global"))))
     (mapcar (lambda (cells)
+             ;; Both references and referees are included in the output.
+             ;; It may be better to pick only one and show others as
+             ;; decoration, e.g. using marginalia, but it is not supported
+             ;; for now.
               (list (nth 1 cells)
                     (nth 2 cells))))
     (flatten-list)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]