From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.help Subject: The two-argument form of defvar Date: Thu, 19 Mar 2015 11:39:48 +0000 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1426765205 29420 80.91.229.3 (19 Mar 2015 11:40:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Mar 2015 11:40:05 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 19 12:40:04 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YYYnz-00074o-RG for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Mar 2015 12:40:03 +0100 Original-Received: from localhost ([::1]:38589 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYYnz-00046F-5i for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Mar 2015 07:40:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYYnn-00046A-3l for help-gnu-emacs@gnu.org; Thu, 19 Mar 2015 07:39:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YYYnm-0007hc-9d for help-gnu-emacs@gnu.org; Thu, 19 Mar 2015 07:39:51 -0400 Original-Received: from mail-we0-x236.google.com ([2a00:1450:400c:c03::236]:36426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYYnm-0007hS-2Q for help-gnu-emacs@gnu.org; Thu, 19 Mar 2015 07:39:50 -0400 Original-Received: by wetk59 with SMTP id k59so54877533wet.3 for ; Thu, 19 Mar 2015 04:39:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=9E+OKojX1gs2jy8yWbMlTkwZTtjRAdQluLlunMFM7w4=; b=SSdVX4lkKX9wYPK3fYzEz5XDx1XF0y7RVgsKkdGSzSxAdJsIEAT6I6SDERNb3wabop Yge6pY95w5UscbKR3SBRAjoAlSlIZJhjI4f8exW1OEdIDtqVw2RWVq50FrgW39/co1GK kP2VKFaiDR7hElw7er8fofvox4LmmiZaUaN2iEFRUY51EbwxBtXEBaOkIgdxcS4xkD3R AyyqwwHYQ3tqxWSeeHav+C+nx+R/64mUDtXt3qjYsthWVM5GjicExJhAnZLV1E7/1Pnn 8b0QMBb8T5zbyrRZIdTKbrz7v1lVL174Gm/zAprzm1smj6DAt/ApthwRPOD8246cvfe+ pHow== X-Received: by 10.194.19.166 with SMTP id g6mr153391359wje.150.1426765188910; Thu, 19 Mar 2015 04:39:48 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::236 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103212 Archived-At: 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.