emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [elpa] externals/tempel 95bec6b4aa 1/2: Demote errors when indenting


From: Stefan Monnier
Subject: Re: [elpa] externals/tempel 95bec6b4aa 1/2: Demote errors when indenting and for the :post action
Date: Tue, 11 Oct 2022 12:10:01 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> +    ('n> (insert "\n") (with-demoted-errors (indent-according-to-mode)))
> +    ('> (with-demoted-errors (indent-according-to-mode)))
[...]
> +    (with-demoted-errors
> +      (eval (overlay-get (caar st) 'tempel--post) (cdr st)))

`with-demoted-errors` takes a format string as first arg (the old
calling convention without format string is obsolete and will be
removed).


        Stefan




reply via email to

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