GNU bug report logs - #19424
23.4; incorrect byte-compiler warning for `mode-line-format'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 21 Dec 2014 17:25:02 UTC

Severity: wishlist

Tags: fixed

Found in version 23.4

Fixed in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 19424 <at> debbugs.gnu.org
Subject: bug#19424: 23.4; incorrect byte-compiler warning for `mode-line-format'
Date: Sat, 30 Apr 2016 18:31:18 +0200
Drew Adams <drew.adams <at> oracle.com> writes:

> This is the warning:
>
>     Warning: `default-mode-line-format' is an obsolete variable
>     (as of Emacs 23.2); use `mode-line-format' instead.
>
> That is incorrect and useless.  Clearly, you cannot use
> `mode-line-format' in place of `default-mode-line-format'.
>
> The warning should instead say something like this, based on the doc
> string:
>
>     Warning: `default-mode-line-format' is an obsolete variable
>     (as of Emacs 23.2); use `(default-value 'mode-line-format)' instead.

Now fixed.

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




This bug report was last modified 8 years and 173 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.