[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
224/285: guix: emacs-utils: Add emacs-batch-disable-compilation.
From: |
guix-commits |
Subject: |
224/285: guix: emacs-utils: Add emacs-batch-disable-compilation. |
Date: |
Sun, 29 Dec 2019 20:44:35 -0500 (EST) |
kkebreau pushed a commit to branch wip-gnome3.34
in repository guix.
commit 8eb483d224654aa4437d86ba54d75daa35f2d80a
Author: Leo Prikler <address@hidden>
Date: Sun Dec 15 00:45:08 2019 +0100
guix: emacs-utils: Add emacs-batch-disable-compilation.
* guix/build/emacs-utils.scm (emacs-batch-disable-compilation):
New procedure.
Signed-off-by: Brett Gilio <address@hidden>
---
guix/build/emacs-utils.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/guix/build/emacs-utils.scm b/guix/build/emacs-utils.scm
index fdacd30..885fd0a 100644
--- a/guix/build/emacs-utils.scm
+++ b/guix/build/emacs-utils.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2014, 2018 Mark H Weaver <address@hidden>
;;; Copyright © 2014 Alex Kost <address@hidden>
;;; Copyright © 2018 Maxim Cournoyer <address@hidden>
+;;; Copyright © 2019 Leo Prikler <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23,6 +24,7 @@
#:export (%emacs
emacs-batch-eval
emacs-batch-edit-file
+ emacs-batch-disable-compilation
emacs-generate-autoloads
emacs-byte-compile-directory
emacs-substitute-sexps
@@ -50,6 +52,12 @@
(string-append "--visit=" file)
(format #f "--eval=~S" expr)))
+(define (emacs-batch-disable-compilation file)
+ (emacs-batch-edit-file file
+ '(progn
+ (add-file-local-variable 'no-byte-compile t)
+ (basic-save-buffer))))
+
(define (emacs-generate-autoloads name directory)
"Generate autoloads for Emacs package NAME placed in DIRECTORY."
(let* ((file (string-append directory "/" name "-autoloads.el"))
- 259/285: gnu: Add copyq., (continued)
- 259/285: gnu: Add copyq., guix-commits, 2019/12/29
- 263/285: gnu: ruby-ansi: Don't use unstable tarball., guix-commits, 2019/12/29
- 248/285: gnu: Add python-audioread., guix-commits, 2019/12/29
- 251/285: gnu: Add gnome-themes-extra, guix-commits, 2019/12/29
- 267/285: gnu: emacs-auth-source-pass: Use upstream URL., guix-commits, 2019/12/29
- 278/285: profiles: Add 'map-manifest-entries'., guix-commits, 2019/12/29
- 276/285: gnu: scummvm: Fix build., guix-commits, 2019/12/29
- 281/285: inferior: Add 'inferior-package-provenance'., guix-commits, 2019/12/29
- 284/285: gnu: gnome-themes-extra: Remove cache file., guix-commits, 2019/12/29
- 216/285: gnu: r-car: Update to 3.0-6., guix-commits, 2019/12/29
- 224/285: guix: emacs-utils: Add emacs-batch-disable-compilation.,
guix-commits <=
- 250/285: gnu: beets: Add support for Acoustid., guix-commits, 2019/12/29
- 253/285: gnu: python-waf: Add some extra tools., guix-commits, 2019/12/29
- 255/285: gnu: password-store: Make search path single-entry., guix-commits, 2019/12/29
- 258/285: gnu: Add picom., guix-commits, 2019/12/29
- 261/285: gnu: ruby-multi-json: Don't use unstable tarball., guix-commits, 2019/12/29
- 264/285: gnu: ruby-guard: Don't use unstable tarball., guix-commits, 2019/12/29
- 269/285: gnu: Add ghc-filepath-bytestring., guix-commits, 2019/12/29
- 268/285: gnu: curseradio: Link to mpv., guix-commits, 2019/12/29
- 271/285: gnu: diffoscope: Update to 134., guix-commits, 2019/12/29
- 272/285: gnu: portaudio: Fix build., guix-commits, 2019/12/29