|
From: | Ludovic Courtès |
Subject: | Re: [PATCH 3/3] emacs: Do not allow to modify system profiles. |
Date: | Sun, 21 Feb 2016 23:07:15 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Alex Kost <address@hidden> skribis: > Fixes <http://bugs.gnu.org/22607>. > Reported by myglc2 <address@hidden>. > > Remove possibilities to install/delete packages to/from a system profile > both for "Package List" and "Package Info" buffers. > > * emacs/guix-profiles.el (guix-system-profile-regexp): New variable. > (guix-system-profile?): New procedure. > * emacs/guix-ui-package.el (guix-package-info-insert-output): Do not > display "Install"/"Delete" button for a system profile. > (guix-package-assert-non-system-profile): New procedure. > (guix-package-execute-actions): Use it. Good idea. LGTM, thank you! Ludo’.
[Prev in Thread] | Current Thread | [Next in Thread] |