[Top][All Lists]

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

Re: /srv/bzr/emacs/trunk r108099: Silence byte-compiler warnings.

From: Juanma Barranquero
Subject: Re: /srv/bzr/emacs/trunk r108099: Silence byte-compiler warnings.
Date: Wed, 2 May 2012 18:29:46 +0200

On Wed, May 2, 2012 at 3:05 PM, Michael Albinus <address@hidden> wrote:

> Just for curiosity: why that? dbus-debug is declared in dbus.el

It's declared, but not defined:

  ;; Declare used subroutines and variables.
  (declare-function dbus-message-internal "dbusbind.c")
  (defvar dbus-debug)
  (defvar dbus-registered-objects-table)

An alternative fix would be to define it properly

 (defvar  dbus-debug nil "...")

which would clearly be the right thing if dbus-debug were part of
dbus.el's API. This is a corner case, because it is not advertised as
such, just used in a macroexpansion.


reply via email to

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