[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Intelligent stacking of messages in the echo area
From: |
Stefan Monnier |
Subject: |
Re: Intelligent stacking of messages in the echo area |
Date: |
Thu, 30 Jan 2020 18:07:14 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> Debugger entered--Lisp error: (void-variable v)
> (default-value v)
> (lambda nil (default-value v))()
> advice--add-function(:around ((lambda nil (default-value v)) lambda
> (gv--val) (set-default v gv--val)) set-multi-message--wrapper nil)
> (add-function :around (default-value sym) #'set-multi-message--wrapper)
My crystal ball says you need to activate lexical-binding for this
anonymous function as well.
IOW, you need to turn the outer ' into a ` and then use ,(lambda ...)
Or move this function to a top-level definition and then refer to it
by name.
Stefan