guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/06: doc: emacs: Document autoloading Emacs packages.


From: Alex Kost
Subject: 06/06: doc: emacs: Document autoloading Emacs packages.
Date: Tue, 02 Dec 2014 07:45:25 +0000

alezost pushed a commit to branch wip-emacs-packages
in repository guix.

commit 73e3f4e55ed31efadaab523e25af4d4a22dc1d23
Author: Alex Kost <address@hidden>
Date:   Tue Dec 2 10:36:25 2014 +0300

    doc: emacs: Document autoloading Emacs packages.
    
    * doc/emacs.texi (Emacs Initial Setup): Describe how Emacs packages 
installed
      in a user profile are autoloaded by "guix.el"
---
 doc/emacs.texi |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/doc/emacs.texi b/doc/emacs.texi
index ad2dcd8..a9f706e 100644
--- a/doc/emacs.texi
+++ b/doc/emacs.texi
@@ -56,11 +56,21 @@ Manual}):
 (require 'guix-init)
 @end example
 
-Do not worry about the efficiency of that @code{require} thing.  It will
-not load the whole ``guix.el'' package, it will just autoload the main
-interactive commands (@pxref{Autoload,,, elisp, The GNU Emacs Lisp
-Reference Manual}).
-
+By default, along with autoloading (@pxref{Autoload,,, elisp, The GNU
+Emacs Lisp Reference Manual}) the main interactive commands for
+``guix.el'' (@pxref{Emacs Commands}), requiring @code{guix-init} will
+also autoload commands for the Emacs packages installed in your user
+profile.
+
+To disable automatic loading of installed Emacs packages, set
address@hidden variable to @code{nil} before
+requiring @code{guix-init}.  This variable has the same meaning for
+Emacs packages installed with Guix, as @code{package-enable-at-startup}
+for the inbuilt Emacs package system (@pxref{Package Installation,,,
+emacs, The GNU Emacs Manual}).
+
+You can activate Emacs packages installed in your profile whenever you
+want using @address@hidden
 
 @node Emacs Usage
 @subsection Usage



reply via email to

[Prev in Thread] Current Thread [Next in Thread]