emacs-devel
[Top][All Lists]
Advanced

[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:42:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

make[1]: Entering directory 
'/home/larsi/src/emacs/with-suppressed-warnings/lisp'
  ELC      minibuffer.elc

In toplevel form:
minibuffer.el:1719:1:Warning: Unused lexical variable ‘foo’
minibuffer.el:1719:1:Warning: Unused lexical argument ‘completions’
minibuffer.el:1723:17:Error: Assertion failed: (<= 0 (+ opcode off))
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

Curioser and curioser.  I get the error above with this:

(defun display-completion-list (completions &optional common-substring)
  (with-suppressed-warnings ((callargs baz))
    (foo))
  (let ((foo common-substring))
    (run-hooks 'zot)))

If I change common-substring in the let to something else, or remove the
run-hooks, then there's no error...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




reply via email to

[Prev in Thread] Current Thread [Next in Thread]