help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The two-argument form of defvar


From: Philipp Stephani
Subject: The two-argument form of defvar
Date: Thu, 19 Mar 2015 11:39:48 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]