]> git.eshelyaron.com Git - emacs.git/commitdiff
Do not output two spaces for non-autoloaded ieieo constructor functions
authorTim Landscheidt <tim@tim-landscheidt.de>
Sun, 27 Dec 2020 23:37:51 +0000 (00:37 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 27 Dec 2020 23:40:15 +0000 (00:40 +0100)
* 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

lisp/emacs-lisp/eieio-opt.el

index 59af7e12d21c117132c0c84425edfd29f36fe23b..3b222b9312949ffb70d15c47aa632fd7a7318dbd 100644 (file)
@@ -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))