GNU bug report logs - #24106
25.1; Viper triggers warning about interactive-p at startup (cosmetic)

Previous Next

Package: emacs;

Reported by: Marien Zwart <marien.zwart <at> gmail.com>

Date: Fri, 29 Jul 2016 15:22:02 UTC

Severity: minor

Tags: fixed

Found in version 25.1

Fixed in version 27.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: Marien Zwart <marien.zwart <at> gmail.com>
Cc: 24106 <at> debbugs.gnu.org
Subject: bug#24106: 25.1; Viper triggers warning about interactive-p at startup (cosmetic)
Date: Sat, 27 Jul 2019 17:40:50 +0200
Marien Zwart <marien.zwart <at> gmail.com> writes:

> With the following in ~/.emacs/init.el:
>
>   (package-initialize)
>
>   (setq viper-mode t
>         viper-inhibit-startup-message t
>         viper-expert-level 5
>         )
>
>   (require 'viper)
>
> Emacs pops up a *Compile-Log* buffer at startup, displaying:
>
> Warning (bytecomp): ‘interactive-p’ is an obsolete function (as of
> 23.2); use ‘called-interactively-p’ instead.
>
> Note this use of "require" in my init file is the normal way of loading Viper
> (according to its documentation).
>
> Loading Viper in a running Emacs did not trigger the error message.
> Only having it in my init file did.
>
> Removing the interactive-p call from the self-insert-command defadvice
> in viper.el removes the warning.

Looks like this has been fixed recently for Emacs 27 (viper.el no longer
uses interactive-p), so I'm closing this bug report.

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




This bug report was last modified 5 years and 360 days ago.

Previous Next


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