[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Towards a cleaner build
From: |
Lars Ingebrigtsen |
Subject: |
Re: Towards a cleaner build |
Date: |
Sun, 09 Jun 2019 18:31:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Uhm. All the other things work great here, but if I modify
display-completion-list to add a with-suppressed-warnings (whether it
has an effect or not; in the example below it's suppressing a warning
that won't be output), I get a severe compilation error.
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index ed610c16ee..f3182d31c0 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -1738,7 +1738,8 @@ display-completion-list
(with-temp-buffer
(let ((standard-output (current-buffer))
(completion-setup-hook nil))
- (display-completion-list completions common-substring))
+ (with-suppressed-warnings ((interactive-only
display-completion-list))
+ (display-completion-list completions common-substring)))
(princ (buffer-string)))
(with-current-buffer standard-output
Here's the error:
make[1]: Entering directory
'/home/larsi/src/emacs/with-suppressed-warnings/lisp'
ELC minibuffer.elc
In display-completion-list:
minibuffer.el:1742:14:Warning: display-completion-list called with 2
arguments, but accepts only 1
minibuffer.el:1750:10:Error: Compiler bug: depth conflict at tag 3
Makefile:296: recipe for target 'minibuffer.elc' failed
make[1]: *** [minibuffer.elc] Error 1
make[1]: Leaving directory '/home/larsi/src/emacs/with-suppressed-warnings/lisp'
Makefile:319: recipe for target 'compile-main' failed
make: *** [compile-main] Error 2
Uhm... anybody want to hazard a guess at why it fails or where I should
poke around to see what I've messed up?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Towards a cleaner build, (continued)
- Re: Towards a cleaner build, Stefan Monnier, 2019/06/09
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/09
- Re: Towards a cleaner build, Stefan Monnier, 2019/06/09
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/09
- Re: Towards a cleaner build, Stefan Monnier, 2019/06/09
Re: Towards a cleaner build,
Lars Ingebrigtsen <=