bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24106: 25.1; Viper triggers warning about interactive-p at startup (


From: Lars Ingebrigtsen
Subject: bug#24106: 25.1; Viper triggers warning about interactive-p at startup (cosmetic)
Date: Sat, 27 Jul 2019 17:40:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Marien Zwart <marien.zwart@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





reply via email to

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