emacs-devel
[Top][All Lists]
Advanced

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

Re: master 003eddc1dc3: ; Avoid byte-compiler warning in todo-mode.el


From: Stephen Berman
Subject: Re: master 003eddc1dc3: ; Avoid byte-compiler warning in todo-mode.el
Date: Tue, 21 May 2024 15:05:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

On Tue, 21 May 2024 07:17:59 -0400 (EDT) Eli Zaretskii <eliz@gnu.org> wrote:

> branch: master
> commit 003eddc1dc31a8b3c8ab2c0d7a8d05dcb83487b2
> Author: Eli Zaretskii <eliz@gnu.org>
> Commit: Eli Zaretskii <eliz@gnu.org>
>
>     ; Avoid byte-compiler warning in todo-mode.el
>
>     * lisp/calendar/todo-mode.el (todo-insert-item--next-param): Move
>     to after the definition of 'todo-mode-map', which this function
>     uses.  This avoids byte-compiler warning.

Oops, sorry about that.  However, because I try to keep the definitions
in todo-mode.el grouped into units of related code that is conveniently
displayed and navigated with outline-minor-mode, I prefer to pacify the
byte-compiler by defvar'ing todo-mode-map (without a value) before the
function instead of moving the latter, so I've done that in commit
c8b34046d93 (this time after testing not only that it works but also
satifies the byte compiler!).

Steve Berman



reply via email to

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