From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#11036: 24.0.94; imagemagick-render-type is void as a variable Date: Tue, 20 Mar 2012 17:06:31 -0400 Message-ID: References: <831uor4njf.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1332277654 27105 80.91.229.3 (20 Mar 2012 21:07:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Mar 2012 21:07:34 +0000 (UTC) Cc: 11036@debbugs.gnu.org To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 20 22:07:34 2012 Return-path: Envelope-to: geb-bug-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 1SA6HF-0003a6-C8 for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Mar 2012 22:07:33 +0100 Original-Received: from localhost ([::1]:49462 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA6HE-0004WS-O6 for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Mar 2012 17:07:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA6H8-0004VK-LV for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 17:07:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SA6H6-0008OM-RT for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 17:07:26 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA6H6-0008OG-Nq for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 17:07:24 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SA6kk-0004po-3G for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 17:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Mar 2012 21:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11036 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11036-submit@debbugs.gnu.org id=B11036.133227944418525 (code B ref 11036); Tue, 20 Mar 2012 21:38:01 +0000 Original-Received: (at 11036) by debbugs.gnu.org; 20 Mar 2012 21:37:24 +0000 Original-Received: from localhost ([127.0.0.1]:58423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SA6k7-0004oj-UQ for submit@debbugs.gnu.org; Tue, 20 Mar 2012 17:37:24 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:48731) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SA6ju-0004oP-OM for 11036@debbugs.gnu.org; Tue, 20 Mar 2012 17:37:21 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SA6GF-0007q5-6j; Tue, 20 Mar 2012 17:06:31 -0400 X-Spook: Watergate INS eavesdropping bullion Mossad $400 million X-Ran: -0~>k[L!/Rna)Jn:Luj&Y&S~xf49*XWuptM6ouLEN4&{pT X-Hue: yellow X-Attribution: GM In-Reply-To: (Glenn Morris's message of "Sat, 17 Mar 2012 14:53:42 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57909 Archived-At: Obviously not for 24.1, but the following seems to work. Anything that is in DOC should be defined at startup if relevant to the platform in use. I compared the results of `C-h f TAB' and `C-h v TAB' with and without this change, and it just removes a few more void things. Eg for me, the variables: motif-version-string, gtk-version-string, ns-initialized. *** src/doc.c 2012-02-06 16:53:51 +0000 --- src/doc.c 2012-03-20 20:50:48 +0000 *************** *** 671,676 **** --- 671,677 ---- /* Install file-position as variable-documentation property and make it negative for a user-variable (doc starts with a `*'). */ + if (!NILP (Fboundp (sym))) Fput (sym, Qvariable_documentation, make_number ((pos + end + 1 - buf) * (end[1] == '*' ? -1 : 1))); *************** *** 678,685 **** /* Attach a docstring to a function? */ else if (p[1] == 'F') store_function_docstring (sym, pos + end + 1 - buf); ! else if (p[1] == 'S') ; /* Just a source file name boundary marker. Ignore it. */ --- 679,688 ---- /* Attach a docstring to a function? */ else if (p[1] == 'F') + { + if (!NILP (Ffboundp (sym))) store_function_docstring (sym, pos + end + 1 - buf); ! } else if (p[1] == 'S') ; /* Just a source file name boundary marker. Ignore it. */