guix/emacs
Alex Kost 260795b736 emacs: Do not allow a user to modify system profiles.
Fixes <http://bugs.gnu.org/22607>.
Reported by myglc2 <myglc2@gmail.com>.

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.
2016-02-22 22:36:35 +03:00
..
guix-backend.el emacs: Move the code to load Emacs packages after installing. 2016-02-07 11:24:35 +03:00
guix-base.el emacs: 'C-u M-x guix-edit' prompts for directory. 2016-02-10 01:31:19 +03:00
guix-buffer.el emacs: Set 'guix-buffer-item' before displaying entries. 2016-02-22 22:29:56 +03:00
guix-build-log.el emacs: Autoload hooks instead of putting them in 'guix-init'. 2016-02-18 11:59:03 +03:00
guix-command.el
guix-config.el.in
guix-devel.el emacs: Autoload hooks instead of putting them in 'guix-init'. 2016-02-18 11:59:03 +03:00
guix-emacs.el emacs: Find Emacs packages in a system profile. 2016-02-07 11:24:35 +03:00
guix-entry.el
guix-external.el
guix-geiser.el
guix-guile.el
guix-help-vars.el
guix-helper.scm.in
guix-history.el
guix-hydra-build.el
guix-hydra-jobset.el
guix-hydra.el
guix-info.el
guix-init.el emacs: Autoload hooks instead of putting them in 'guix-init'. 2016-02-18 11:59:03 +03:00
guix-license.el
guix-list.el
guix-main.scm
guix-messages.el
guix-pcomplete.el
guix-popup.el
guix-prettify.el
guix-profiles.el emacs: Do not allow a user to modify system profiles. 2016-02-22 22:36:35 +03:00
guix-read.el
guix-ui-generation.el emacs: Add missing (require 'guix-profiles). 2016-02-04 15:31:43 +03:00
guix-ui-package.el emacs: Do not allow a user to modify system profiles. 2016-02-22 22:36:35 +03:00
guix-ui-system-generation.el
guix-ui.el emacs: Add missing (require 'guix-profiles). 2016-02-04 15:31:43 +03:00
guix-utils.el