Gnus development mailing list
 help / color / mirror / Atom feed
* How to fix this compile-time warnings?
@ 2010-09-29 20:07 Julien Danjou
  2010-09-29 20:13 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Julien Danjou @ 2010-09-29 20:07 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 614 bytes --]


In gnus-icompleting-read:
gnus-util.el:1603:18:Warning: assignment to free variable
    `iswitchb-temp-buflist'

In end of data:
gnus-util.el:1941:1:Warning: the function `iswitchb-read-buffer' is not known
    to be defined.

The obvious fix is to add (require 'iswitchb) at the beginning of
gnus-util.el. But I'm not sure: do we want to require it the user does
not use the completion function from iswitchb? Does it hurts? Can we
eval-when-compile the require?

Could some experienced Lisp programmer enlight me? :)

-- 
Julien Danjou
// ᐰ <julien@danjou.info>   http://julien.danjou.info

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to fix this compile-time warnings?
  2010-09-29 20:07 How to fix this compile-time warnings? Julien Danjou
@ 2010-09-29 20:13 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-29 20:13 UTC (permalink / raw)
  To: ding

Julien Danjou <julien@danjou.info> writes:

> In gnus-icompleting-read:
> gnus-util.el:1603:18:Warning: assignment to free variable
>     `iswitchb-temp-buflist'
>
> In end of data:
> gnus-util.el:1941:1:Warning: the function `iswitchb-read-buffer' is not known
>     to be defined.

Just put the variable in dgnushack to silence the compiler...

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-29 20:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-29 20:07 How to fix this compile-time warnings? Julien Danjou
2010-09-29 20:13 ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).