unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* strange warning
@ 2007-10-30 20:59 Dan Nicolaescu
  2007-10-30 21:28 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Nicolaescu @ 2007-10-30 20:59 UTC (permalink / raw)
  To: emacs-devel


cvs-status.el:544:1:Warning: the function `cvs-status-get-tags' might
not be defined at runtime.

But the file contains this: 
(defun cvs-status-get-tags ()

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

* Re: strange warning
  2007-10-30 20:59 strange warning Dan Nicolaescu
@ 2007-10-30 21:28 ` Glenn Morris
  2007-10-30 21:35   ` Dan Nicolaescu
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2007-10-30 21:28 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-devel

Dan Nicolaescu wrote:

> cvs-status.el:544:1:Warning: the function `cvs-status-get-tags' might
> not be defined at runtime.
>
> But the file contains this: 
> (defun cvs-status-get-tags ()

Because cvs-status requires pcvs at compile time, which in turn does
(autoload 'cvs-status-get-tags "cvs-status")?

Anyway, the (eval-when-compile (require 'pcvs)) can be deleted, and
doing so removes this warning.

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

* Re: strange warning
  2007-10-30 21:28 ` Glenn Morris
@ 2007-10-30 21:35   ` Dan Nicolaescu
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Nicolaescu @ 2007-10-30 21:35 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel

Glenn Morris <rgm@gnu.org> writes:

  > Dan Nicolaescu wrote:
  > 
  > > cvs-status.el:544:1:Warning: the function `cvs-status-get-tags' might
  > > not be defined at runtime.
  > >
  > > But the file contains this: 
  > > (defun cvs-status-get-tags ()
  > 
  > Because cvs-status requires pcvs at compile time, which in turn does
  > (autoload 'cvs-status-get-tags "cvs-status")?

Yep, I saw that, but IMHO the warning is not necessary...

  > Anyway, the (eval-when-compile (require 'pcvs)) can be deleted, and
  > doing so removes this warning.

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

end of thread, other threads:[~2007-10-30 21:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-30 20:59 strange warning Dan Nicolaescu
2007-10-30 21:28 ` Glenn Morris
2007-10-30 21:35   ` Dan Nicolaescu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).