aboutsummaryrefslogtreecommitdiff
path: root/emacs/guix-init.el
Commit message (Collapse)AuthorAge
* emacs: Deprecate "guix-init.el".Alex Kost2016-03-24
| | | | | | | | | | | | | | | | 'guix-init' served 2 purposes: - to autoload guix commands (by requiring 'guix-autoloads'); - and to autoload Emacs packages installed with Guix (by requiring 'guix-emacs'). The second purpose is not actual anymore, as Emacs package handles this task now, so there is no need in 'guix-init' anymore. * emacs/guix-init.el: Do not require 'guix-emacs'. Add a deprecation message. * doc/emacs.texi (Emacs Initial Setup): Recommend to use 'guix-autoloads' instead of 'guix-init'.
* emacs: Autoload hooks instead of putting them in 'guix-init'.Alex Kost2016-02-18
| | | | | | * emacs/guix-init.el: Move adding hooks to... * emacs/guix-build-log.el: ... here. * emacs/guix-devel.el: ... and here.
* emacs: Move loading packages to "guix-emacs.el".Alex Kost2016-01-13
| | | | | | * emacs/guix-init.el: Move the code for auto-loading Emacs packages to... (guix-package-enable-at-startup): Move to... * emacs/guix-emacs.el (guix-package-enable-at-startup): ... here.
* emacs: 'guix-emacs-load-autoloads' takes a profile.Alex Kost2015-12-06
| | | | | | | * emacs/guix-emacs.el (guix-emacs-load-autoloads): Use 'profile' as an optional argument. (guix-emacs-load-autoloads-maybe): Adjust accordingly. * emacs/guix-init.el: Likewise.
* emacs: Enable 'guix-build-log-minor-mode' in shell buffers.Alex Kost2015-11-02
| | | | | | | * emacs/guix-build-log.el (guix-build-log-minor-mode-activate): New variable. (guix-build-log-minor-mode-activate-maybe): New function. * emacs/guix-init.el: Add it to 'shell-mode-hook'. * doc/emacs.texi (Emacs Build Log): Mention it.
* emacs: init: Add "share/emacs/site-lisp" to 'load-path'.Alex Kost2015-10-16
| | | | | | | | | | | | | Fixes a regression introduced in 7741139080a6b00aa4f1846fe7668859e91bec58. Reported by Ludovic Courtès <ludo@gnu.org>. Not all emacs packages have "...-autoloads.el" files, so there is a chance that "~/.guix-profile/share/emacs/site-lisp" will not be added to 'load-path', so add it unconditionally. * emacs/guix-init.el: Add guix emacs directory to 'load-path'. Move requiring 'guix-emacs' to the top-level.
* emacs: Add development utils.Alex Kost2015-09-23
| | | | | | | | | | | | * emacs/guix-guile.el (guix-guile-current-module): New function. * emacs/guix-devel.el: New file. * emacs.am (ELFILES): Add it. * doc/emacs.texi (Emacs Development): New node. (Emacs Interface): Add it. * doc/contributing.texi (The Perfect Setup): Mention it. * doc/guix.texi (Top): Add it. * emacs/guix-init.el: Add 'guix-devel-activate-mode-maybe' to 'scheme-mode-hook'.
* emacs: Use only one guix-load-path variable.Mathieu Lirzin2015-08-30
| | | | | emacs/guix-init.el (guix-load-path): Move to ... emacs/guix-backend.el (guix-load-path): ... Here. Redefine it.
* build: Produce 'guix-config' instead of using compile-time tricks.Mathieu Lirzin2015-08-30
* emacs/guix-{init,profiles}.el.in: Rename to ... * emacs/guix-{init,profiles}.el: ... these. New files. Use 'guix-config'. * emacs/guix-config.el.in: New file. * emacs.am (nodist_lisp_DATA): Add it. Move them to ... (ELFILES): ... here. * .gitignore, configure.ac: Adjust accordingly.