[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Eager macro-expansion failure: (excessive-variable-binding)"
From: |
Lars Ingebrigtsen |
Subject: |
Re: "Eager macro-expansion failure: (excessive-variable-binding)" |
Date: |
Wed, 14 Sep 2022 17:38:00 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Hm... yes, it seems like this (or something else recently) increased
> the "make -j32" build time from 1:08m to 1:17m, which is pretty
> significant. I'm doing further rebuilds to see if that's indeed the
> culprit.
Yes, but via ldefs-boot.el which was done a bit later.
The following patch brings build times back down to 1:08s.
diff --git a/lisp/ldefs-boot.el b/lisp/ldefs-boot.el
index 909ecf773c..fd2c68b98d 100644
--- a/lisp/ldefs-boot.el
+++ b/lisp/ldefs-boot.el
@@ -33564,7 +33564,7 @@ "vc-filewise"
this list might be extended in the future.
(fn SWITCHES)")
-(put 'vc-git-annotate-switches 'safe-local-variable
#'vc-git-annotate-switches-safe-p)
+(put 'vc-git-annotate-switches 'safe-local-variable (lambda (switches) (equal
switches "-w")))
(defun vc-git-registered (file)
"Return non-nil if FILE is registered with git."
(if (vc-find-root file ".git") ; Short cut.
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index 8d8ea33f8b..0764282676 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -135,7 +135,7 @@ vc-git-annotate-switches
(string :tag "Argument String")
(repeat :tag "Argument List" :value ("") string))
:version "25.1")
-;;;###autoload(put 'vc-git-annotate-switches 'safe-local-variable
#'vc-git-annotate-switches-safe-p)
+;;;###autoload(put 'vc-git-annotate-switches 'safe-local-variable (lambda
(switches) (equal switches "-w")))
(defcustom vc-git-log-switches nil
"String or list of strings specifying switches for Git log under VC."
- "Eager macro-expansion failure: (excessive-variable-binding)", Lars Ingebrigtsen, 2022/09/14
- Re: "Eager macro-expansion failure: (excessive-variable-binding)", Mattias EngdegÄrd, 2022/09/14
- Re: "Eager macro-expansion failure: (excessive-variable-binding)", Lars Ingebrigtsen, 2022/09/14
- Re: "Eager macro-expansion failure: (excessive-variable-binding)",
Lars Ingebrigtsen <=
- Re: "Eager macro-expansion failure: (excessive-variable-binding)", Eli Zaretskii, 2022/09/14
- Re: "Eager macro-expansion failure: (excessive-variable-binding)", Lars Ingebrigtsen, 2022/09/14
- Re: "Eager macro-expansion failure: (excessive-variable-binding)", Eli Zaretskii, 2022/09/14
- Re: "Eager macro-expansion failure: (excessive-variable-binding)", Lars Ingebrigtsen, 2022/09/14
- Re: "Eager macro-expansion failure: (excessive-variable-binding)", Eli Zaretskii, 2022/09/14
- Re: "Eager macro-expansion failure: (excessive-variable-binding)", Lars Ingebrigtsen, 2022/09/14