summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Landscheidt <tim@tim-landscheidt.de>2020-12-28 00:37:51 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2020-12-28 00:40:15 +0100
commit8914fb2227b51851ab734513938c38de7d01902e (patch)
treeef7cd88b356f7362cd0229bfeacb21dd68124655
parent8d5a6c9ef5272b2a98c2faa0a9308ab69f011570 (diff)
downloademacs-8914fb2227b51851ab734513938c38de7d01902e.tar.gz
Do not output two spaces for non-autoloaded ieieo constructor functions
* lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor): Amend format to avoid two spaces for non-autoloaded object constructor functions (bug#45454). Copyright-paperwork-exempt: yes
-rw-r--r--lisp/emacs-lisp/eieio-opt.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/eieio-opt.el b/lisp/emacs-lisp/eieio-opt.el
index 59af7e12d21..3b222b93129 100644
--- a/lisp/emacs-lisp/eieio-opt.el
+++ b/lisp/emacs-lisp/eieio-opt.el
@@ -136,9 +136,9 @@ are not abstract."
(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))