all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#74765: 30.0.92; declare-function should respect defun/lambda scope
@ 2024-12-10 13:10 Daniel Mendler via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; only message in thread
From: Daniel Mendler via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-12-10 13:10 UTC (permalink / raw)
  To: 74765; +Cc: Stefan Monnier

`declare-function' can be used inside of `defun' or `lambda', but the
declaration still applies to the entire file. The declaration should
only apply to the scope where it is defined.

(I've seen this problem mentioned multiple times, but I am not sure if
there is already an issue to track the problem. Feel free to close/merge
the issues if I missed this.)

In GNU Emacs 30.0.92 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.18.2, Xaw scroll bars)





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

only message in thread, other threads:[~2024-12-10 13:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-10 13:10 bug#74765: 30.0.92; declare-function should respect defun/lambda scope Daniel Mendler via Bug reports for GNU Emacs, the Swiss army knife of text editors

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.