[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45454: 27.1; Help for EIEIO constructors has two consecutive spaces
From: |
Tim Landscheidt |
Subject: |
bug#45454: 27.1; Help for EIEIO constructors has two consecutive spaces |
Date: |
Sun, 27 Dec 2020 11:50:23 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
X-Debbugs-CC: David Engster <dengste@eml.cc>
Severity: minor
Tags: patch
For non-autoloaded EIEIO constructor functions,
eieio-help-constructor will output two consecutive spaces.
>From 8f1b42ed9fb6a7f935c12a8caac6958d90c79eb6 Mon Sep 17 00:00:00 2001
From: Tim Landscheidt <tim@tim-landscheidt.de>
Date: Thu, 25 Jan 2018 02:55:44 +0000
Subject: [PATCH] ; Do not output two spaces for non-autoloaded object
constructor functions
* 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 59af7e12d2..3b222b9312 100644
--- a/lisp/emacs-lisp/eieio-opt.el
+++ b/lisp/emacs-lisp/eieio-opt.el
@@ -136,9 +136,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.26.2
- bug#45454: 27.1; Help for EIEIO constructors has two consecutive spaces,
Tim Landscheidt <=