all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#25604: Autoloads fake functions in foreign packages
       [not found] <87k29934n8.fsf@passepartout.tim-landscheidt.de>
@ 2018-04-12 19:34 ` Lars Ingebrigtsen
  0 siblings, 0 replies; only message in thread
From: Lars Ingebrigtsen @ 2018-04-12 19:34 UTC (permalink / raw)
  To: Tim Landscheidt; +Cc: 25604

Tim Landscheidt <tim@tim-landscheidt.de> writes:

> With Gnus v5.13/GNU Emacs 25.1.1 (x86_64-redhat-linux-gnu,
> GTK+ Version 3.22.4) of 2016-12-15, after loading
> gnus-art.el, C-h f w3 TAB completes to
> w3m-toggle-inline-images even though I have not installed
> the w3m package.  This is due to gnus-art.el's:
>
> | (autoload 'w3m-toggle-inline-images "w3m")
>
> AFAIUI, this should be rewritten as:
>
> | (declare-function w3m-toggle-inline-images "w3m")
>
> so that the compiler remains quiet, but the function does
> not falsely appear to be existing.

Thanks; I've applied this to Emacs 27.1.

> There are a lot of these in Gnus (cf. "git grep
> '^[^;]*(autoload' -- lisp/gnus
> ':(exclude)lisp/gnus/ChangeLog.*'") and Emacs overall, so a
> larger clean-up might be useful.

Using autoload in these forms is mostly annoying when they refer to
packages not distributed with Emacs -- the other ones are mostly
harmless.

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





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-04-12 19:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87k29934n8.fsf@passepartout.tim-landscheidt.de>
2018-04-12 19:34 ` bug#25604: Autoloads fake functions in foreign packages Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.