From e29d19248483d2ac527894ca20fa69f88fabdfd3 Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Wed, 9 Dec 2015 21:58:36 +0300 Subject: emacs: Add 'list-single' variables. * emacs/guix-list.el (guix-list-single-entry?): New procedure. (guix-list-define-interface): Add ':list-single?' key and generate 'guix-ENTRY-TYPE-list-single' variables. * emacs/guix-ui-package.el (guix-package-list-single): Remove. --- emacs/guix-ui-package.el | 6 ------ 1 file changed, 6 deletions(-) (limited to 'emacs/guix-ui-package.el') diff --git a/emacs/guix-ui-package.el b/emacs/guix-ui-package.el index 299822aae9..66cf0fe6f0 100644 --- a/emacs/guix-ui-package.el +++ b/emacs/guix-ui-package.el @@ -57,12 +57,6 @@ package data)." (const :tag "Display outputs" output)) :group 'guix-package) -(defcustom guix-package-list-single nil - "If non-nil, list a package even if it is the only matching result. -If nil, show a single package in the info buffer." - :type 'boolean - :group 'guix) - (defun guix-package-get-display (profile search-type &rest search-values) "Search for packages/outputs and show results. -- cgit v1.2.3