summaryrefslogtreecommitdiff
path: root/emacs/guix-init.el
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2016-02-08 20:34:13 +0300
committerAlex Kost <alezost@gmail.com>2016-03-24 18:49:59 +0300
commitff4455e6e225ab6f12d6d8e015f403a6090ed1b8 (patch)
treec4a4fca072690e73ab7e0287fa1ba0c0359ade7c /emacs/guix-init.el
parent453cdf860676d99f1d75311befdf58fd96541cde (diff)
downloadpatches-ff4455e6e225ab6f12d6d8e015f403a6090ed1b8.tar
patches-ff4455e6e225ab6f12d6d8e015f403a6090ed1b8.tar.gz
emacs: Deprecate "guix-init.el".
'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'.
Diffstat (limited to 'emacs/guix-init.el')
-rw-r--r--emacs/guix-init.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/emacs/guix-init.el b/emacs/guix-init.el
index 1d7d258f69..bd75e54e03 100644
--- a/emacs/guix-init.el
+++ b/emacs/guix-init.el
@@ -1,4 +1,3 @@
(require 'guix-autoloads)
-(require 'guix-emacs)
-
+(message "(require 'guix-init) is obsolete, use (require 'guix-autoloads) instead.")
(provide 'guix-init)