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 emacs: command: Disambiguate "w" key in build options. 2016-02-01 21:23:38 +03:00
guix-config.el.in emacs: config: Use "emacs-config-" prefix for constants. 2015-10-20 16:47:05 +03:00
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 emacs: Add API for 'guix-entry'. 2016-01-02 17:25:35 +03:00
guix-external.el emacs: Use "cl-list*" instead of "apply #'list". 2016-01-02 17:25:35 +03:00
guix-geiser.el emacs: Fix 'guix-devel-setup-repl'. 2015-10-09 16:17:45 +03:00
guix-guile.el emacs: Fix 'guix-devel-setup-repl'. 2015-10-09 16:17:45 +03:00
guix-help-vars.el emacs: Add help variables. 2015-08-30 18:26:02 +03:00
guix-helper.scm.in
guix-history.el
guix-hydra-build.el emacs: Add Hydra interface. 2016-01-02 17:25:35 +03:00
guix-hydra-jobset.el emacs: Add Hydra interface. 2016-01-02 17:25:35 +03:00
guix-hydra.el emacs: Add Hydra interface. 2016-01-02 17:25:35 +03:00
guix-info.el emacs: Rename 'file-path' to 'file-name'. 2016-01-25 22:11:47 +03:00
guix-init.el emacs: Autoload hooks instead of putting them in 'guix-init'. 2016-02-18 11:59:03 +03:00
guix-license.el emacs: Add interface for licenses. 2016-01-25 22:11:47 +03:00
guix-list.el emacs: list: Support displaying URL links. 2016-01-25 22:11:47 +03:00
guix-main.scm emacs: Add interface for licenses. 2016-01-25 22:11:47 +03:00
guix-messages.el emacs: Add 'guix-packages-by-license' command. 2016-01-25 22:11:47 +03:00
guix-pcomplete.el emacs: Add missing shell completions. 2016-01-13 17:55:47 +03:00
guix-popup.el emacs: Add "guix-popup.el". 2015-08-30 18:26:03 +03:00
guix-prettify.el emacs: Improve 'guix-prettify-regexp'. 2015-09-22 13:04:44 +03:00
guix-profiles.el emacs: Do not allow a user to modify system profiles. 2016-02-22 22:36:35 +03:00
guix-read.el emacs: Add 'guix-browse-license-url' command. 2016-01-25 22:11:47 +03:00
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 emacs: Rename 'file-path' to 'file-name'. 2016-01-25 22:11:47 +03:00
guix-ui.el emacs: Add missing (require 'guix-profiles). 2016-02-04 15:31:43 +03:00
guix-utils.el emacs: Add Hydra interface. 2016-01-02 17:25:35 +03:00