[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19112: 25.0.50; todo-mode: error on empty, file-less buffers
From: |
Stephen Berman |
Subject: |
bug#19112: 25.0.50; todo-mode: error on empty, file-less buffers |
Date: |
Wed, 26 Nov 2014 23:46:31 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
On Wed, 19 Nov 2014 22:44:22 +0100 Simen Heggestøyl <simenheg@gmail.com> wrote:
> Todo mode crashes when activated in an empty, file-less buffer.
>
> Reproduced by the following recipe from Emacs -Q:
> 1. Switch to a new buffer, so that it's empty, and not connected to
> a file.
> 2. Run `M-x todo-mode'.
>
> This should produce the following error message:
>
> todo-mode: Wrong type argument: arrayp, nil
I committed a fix to the emacs-24 branch: now if todo-mode is called
interactively, there's no error and a message is displayed saying to
call todo-show to enter Todo mode.