all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* The two-argument form of defvar
@ 2015-03-19 11:39 Philipp Stephani
  2015-03-19 15:03 ` Nicolas Richard
  0 siblings, 1 reply; 8+ messages in thread
From: Philipp Stephani @ 2015-03-19 11:39 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

Hi,

when looking at the source code of defvar it becomes clear that the
two-argument form

(defvar foo)

is a no-op. It is often used as a signal to the byte compiler that a
certain variable will be available, similar to declare-function. Would it
be possible to clarify the docstring accordingly? Currently it has no
indication that the two-argument form doesn't do anything.


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

end of thread, other threads:[~2015-04-19 21:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-19 11:39 The two-argument form of defvar Philipp Stephani
2015-03-19 15:03 ` Nicolas Richard
2015-03-19 15:52   ` Tassilo Horn
2015-04-18  9:25     ` Philipp Stephani
2015-04-18 13:27       ` Stefan Monnier
2015-04-18 14:14       ` Drew Adams
2015-04-18 16:50         ` Philipp Stephani
     [not found]       ` <mailman.1013.1429363810.904.help-gnu-emacs@gnu.org>
2015-04-19 21:48         ` Emanuel Berg

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.