From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tim Landscheidt Newsgroups: gmane.emacs.devel Subject: [PATCH] ; Do not output two spaces for non-autoloaded object constructor functions Date: Thu, 25 Jan 2018 02:55:44 +0000 Organization: http://www.tim-landscheidt.de/ Message-ID: <87h8razknq.fsf@passepartout.tim-landscheidt.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1516850551 1581 195.159.176.226 (25 Jan 2018 03:22:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 25 Jan 2018 03:22:31 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cc: David Engster To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 25 04:22:27 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eeY7D-0007zK-BI for ged-emacs-devel@m.gmane.org; Thu, 25 Jan 2018 04:22:15 +0100 Original-Received: from localhost ([::1]:38509 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eeY9D-0000iW-Tx for ged-emacs-devel@m.gmane.org; Wed, 24 Jan 2018 22:24:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eeY8U-0000hx-CW for emacs-devel@gnu.org; Wed, 24 Jan 2018 22:23:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eeY8P-0003kB-F6 for emacs-devel@gnu.org; Wed, 24 Jan 2018 22:23:34 -0500 Original-Received: from mezzogiorno.tim-landscheidt.de ([2a01:4f8:d15:2286::2]:56764) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eeY8P-0003fF-8D for emacs-devel@gnu.org; Wed, 24 Jan 2018 22:23:29 -0500 Original-Received: from dslb-092-076-023-076.092.076.pools.vodafone-ip.de ([92.76.23.76]:58118 helo=passepartout.tim-landscheidt.de) by mezzogiorno.tim-landscheidt.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eeY8H-0002vI-PC; Thu, 25 Jan 2018 03:23:21 +0000 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:4f8:d15:2286::2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:222215 Archived-At: * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor): Amend format to avoid two spaces for non-autoloaded object constructor functions. Copyright-paperwork-exempt: yes --- lisp/emacs-lisp/eieio-opt.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/emacs-lisp/eieio-opt.el b/lisp/emacs-lisp/eieio-opt.el index dbec48d038..cfa29a4312 100644 --- a/lisp/emacs-lisp/eieio-opt.el +++ b/lisp/emacs-lisp/eieio-opt.el @@ -132,9 +132,9 @@ eieio-help-constructor (def (symbol-function ctr))) (goto-char (point-min)) (prin1 ctr) - (insert (format " is an %s object constructor function" + (insert (format " is an %sobject constructor function" (if (autoloadp def) - "autoloaded" + "autoloaded " ""))) (when (and (autoloadp def) (null location)) -- 2.13.6