branch: elpa/aidermacs
commit a3e90fea3c046a5cb458b5aeaf6ae1486ca0eb87
Author: Marien Zwart <mari...@google.com>
Commit: Marien Zwart <mari...@google.com>

    Don't try to byte-compile aider-doom.el
    
    Byte-compiling aider-doom.el fails unless Doom's `map!` macro is defined
    first. Doom defines this as part of its initialization, but it is not
    normally defined when byte-compiling: even when installing aider-doom.el
    using Doom, Doom byte-compiles packages in a separate process (without
    itself loaded) and is just ignoring the failure to byte-compile this
    file.
    
    This does no harm when aider-doom.el is used by Doom, but can be an
    annoyance when packaging aider.el using something that fails on byte
    compilation failures by default (see
    https://github.com/marienz/nix-doom-emacs-unstraightened/issues/50).
    
    Since byte-compiling this file will (normally) fail anyway, explicitly
    disable it.
---
 aider-doom.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aider-doom.el b/aider-doom.el
index be8db18fc3..5cc77ada1e 100644
--- a/aider-doom.el
+++ b/aider-doom.el
@@ -1,4 +1,4 @@
-;;; aider-doom.el --- Description -*- lexical-binding: t; -*-
+;;; aider-doom.el --- Description -*- lexical-binding: t; no-byte-compile: t 
-*-
 ;;
 ;; This file is not part of GNU Emacs.
 ;;

Reply via email to