diff mbox

[3/6] build-system/emacs: Use 'emacs-minimal' as default emacs for building.

Message ID 1463422824-7161-4-git-send-email-alezost@gmail.com
State New
Headers show

Commit Message

Alex Kost May 16, 2016, 6:20 p.m. UTC
* guix/build-system/emacs.scm (default-emacs): Use 'emacs-minimal'.
---
 guix/build-system/emacs.scm | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

Comments

Ludovic Courtès May 19, 2016, 11:55 a.m. UTC | #1
Alex Kost <alezost@gmail.com> skribis:

> * guix/build-system/emacs.scm (default-emacs): Use 'emacs-minimal'.
> ---
>  guix/build-system/emacs.scm | 6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/guix/build-system/emacs.scm b/guix/build-system/emacs.scm
> index 017e6ef..995fce7 100644
> --- a/guix/build-system/emacs.scm
> +++ b/guix/build-system/emacs.scm
> @@ -49,11 +49,7 @@
>    "Return the default Emacs package."
>    ;; Lazily resolve the binding to avoid a circular dependency.
>    (let ((emacs-mod (resolve-interface '(gnu packages emacs))))
> -    ;; we use 'emacs' instead of 'emacs-no-x' because the latter appears not
> -    ;; to be loading some macros and causes problems to some packages.  For
> -    ;; example, with the latter AUCTeX gives the error message:
> -    ;; "(invalid-function dbus-ignore-errors)".
> -    (module-ref emacs-mod 'emacs)))
> +    (module-ref emacs-mod 'emacs-minimal)))

Can you confirm that AUCTeX is happy with this patch?

If yes, then OK for me.

Ludo’.
diff mbox

Patch

diff --git a/guix/build-system/emacs.scm b/guix/build-system/emacs.scm
index 017e6ef..995fce7 100644
--- a/guix/build-system/emacs.scm
+++ b/guix/build-system/emacs.scm
@@ -49,11 +49,7 @@ 
   "Return the default Emacs package."
   ;; Lazily resolve the binding to avoid a circular dependency.
   (let ((emacs-mod (resolve-interface '(gnu packages emacs))))
-    ;; we use 'emacs' instead of 'emacs-no-x' because the latter appears not
-    ;; to be loading some macros and causes problems to some packages.  For
-    ;; example, with the latter AUCTeX gives the error message:
-    ;; "(invalid-function dbus-ignore-errors)".
-    (module-ref emacs-mod 'emacs)))
+    (module-ref emacs-mod 'emacs-minimal)))
 
 (define* (lower name
                 #:key source inputs native-inputs outputs system target